uppsrc_Core_Defs.h.diff
uppsrc/Core/Defs.h 2015-03-06 21:55:01.000000000 +0400 | ||
---|---|---|
337 | 337 |
inline bool IsNaN(double d) { return _isnan(d); } |
338 | 338 |
inline bool IsInf(double d) { return !_finite(d) && !_isnan(d); } |
339 | 339 |
#endif |
340 |
#elif __APPLE__ || __DragonFly__ |
|
340 |
#elif __APPLE__ || __DragonFly__ || (PLATFORM_BSD && GCC_VERSION >= 40700)
|
|
341 | 341 |
inline bool IsNaN(double d) { return std::isnan(d); } |
342 | 342 |
inline bool IsInf(double d) { return std::isinf(d); } |
343 | 343 |
#else |