Fix a dumb bug for FreeBSD.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user