Changeset 12543
- Timestamp:
- 06/25/12 16:52:11 (13 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/Makefile.am
r12433 r12543 188 188 ./shared/Numerics/cross.cpp\ 189 189 ./shared/Numerics/isnan.h\ 190 ./shared/Numerics/isnan.cpp\191 190 ./shared/Numerics/extrema.cpp\ 192 191 ./shared/Numerics/XZvectorsToCoordinateSystem.cpp\ -
issm/trunk-jpl/src/c/io/PrintfFunction.cpp
r12513 r12543 56 56 printf("%s\n",message.c_str()); 57 57 } 58 return 1; 58 59 } 59 60 int PrintfFunction2(const string & message){ … … 62 63 printf("%s",message.c_str()); 63 64 } 65 return 1; 64 66 } -
issm/trunk-jpl/src/c/shared/Numerics/isnan.h
r12527 r12543 3 3 */ 4 4 5 #ifndef _ ISNAN_INTEL_H_6 #define _ ISNAN_INTEL_H_5 #ifndef _XISNAN_H_ 6 #define _XISNAN_H_ 7 7 8 8 #ifdef _INTEL_WIN_ … … 11 11 12 12 template <class T> int xIsNan(const T& X) { 13 return isnan(X); 13 #ifdef _INTEL_WIN_ 14 return (x!=x)?1:0; 15 #else 16 return isnan(X); 17 #endif 14 18 } 15 19 … … 19 23 } 20 24 #endif 25 21 26 #endif 22
Note:
See TracChangeset
for help on using the changeset viewer.