msvcrt: remove errno EDOM from atan, exp and tanh

Zheng Chen chanchengcc at
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wine-devel mailing list