msvcrt: remove errno EDOM from atan, exp and tanh

Piotr Caban piotr.caban at
Mon Mar 23 08:57:15 CDT 2015


On 03/22/15 14:50, Kevin Chan wrote:
>   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.


More information about the wine-devel mailing list