Fix a dumb bug for FreeBSD.

This commit is contained in:
curt
2004-11-21 21:45:35 +00:00
parent c19af3525e
commit f10db8a30e

View File

@@ -46,7 +46,7 @@ inline int (isnan)(double r) { return isnan(r); }
#endif
#if defined (__FreeBSD__)
inline int isnan(double r) { return !(r < 0 || r > 0); }
inline int isnan(double r) { return !(r <= 0 || r >= 0); }
#endif