Files
reactos/reactos/lib/crtdll/float/isnan.c
T
1999-04-02 21:44:11 +00:00

12 lines
193 B
C

#include <crtdll/math.h>
#include <crtdll/float.h>
int isnan(double x)
{
if ( x>= 0.0 && x < HUGE_VAL )
return FALSE;
else if ( x <= 0.0 && x > HUGE_VAL )
return FALSE;
return TRUE;
}