msvcrt: remove errno EDOM from atan, exp and tanh

Zheng Chen chanchengcc at gmail.com
Tue Mar 24 03:00:32 CDT 2015


Hi Piotr,

  double CDECL MSVCRT_atan( double x )
>>   {
>> -  if (!isfinite(x)) *MSVCRT__errno() = MSVCRT_EDOM;
>>     return atan(x);
>>   }
>>
> I've done a little more testing. The function is not setting errno in INF
> and -INF case. It does set errno  to EDOM when argument is NAN.
>
>
Thanks for pointting out! Sorry I missed it. Sending a patch.

Regards,
Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20150324/4273a78e/attachment.html>


More information about the wine-devel mailing list