ae75f9d4e5
- 755 -> 644
11 lines
201 B
C
11 lines
201 B
C
int __IsNan(double d)
|
|
{
|
|
#if defined(vax) || defined(pdp)
|
|
#else
|
|
float f = d;
|
|
|
|
if ((*((long *) &f) & 0x7f800000) == 0x7f800000 &&
|
|
(*((long *) &f) & 0x007fffff) != 0) return 1;
|
|
#endif
|
|
return 0;
|
|
}
|