Changes in lemon/math.h [440:88ed40ad0d4f:511:06787db0ef5f] in lemon-1.2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/math.h
r440 r511 56 56 const long double SQRT1_2 = 0.7071067811865475244008443621048490L; 57 57 58 ///Check whether the parameter is NaN or not 59 60 ///This function checks whether the parameter is NaN or not. 61 ///Is should be equivalent with std::isnan(), but it is not 62 ///provided by all compilers. 63 inline bool isNaN(double v) 64 { 65 return v!=v; 66 } 58 67 59 68 /// @}
Note: See TracChangeset
for help on using the changeset viewer.