Changeset 19490 for issm/trunk-jpl/src/c/shared/Numerics/isnan.h
- Timestamp:
- 08/13/15 12:32:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Numerics/isnan.h
r18125 r19490 13 13 14 14 /*If include cmath instead of math, isnan on linux64 murdo does not work: */ 15 #include < math.h>15 #include <cmath> 16 16 17 17 template <class T> int xIsNan(const T& X) { … … 19 19 return (X!=X)?1:0; 20 20 #else 21 return isnan(X);21 return std::isnan(X); 22 22 #endif 23 23 }
Note:
See TracChangeset
for help on using the changeset viewer.