lemon/math.h
changeset 721 0cd6d84103a4
parent 493 81627fa1b007
child 956 141f9c0db4a3
child 1081 f1398882a928
equal deleted inserted replaced
3:53ce7602f20b 4:5f5968056fc8
    58   ///Check whether the parameter is NaN or not
    58   ///Check whether the parameter is NaN or not
    59   
    59   
    60   ///This function checks whether the parameter is NaN or not.
    60   ///This function checks whether the parameter is NaN or not.
    61   ///Is should be equivalent with std::isnan(), but it is not
    61   ///Is should be equivalent with std::isnan(), but it is not
    62   ///provided by all compilers.
    62   ///provided by all compilers.
    63   inline bool isnan(double v)
    63   inline bool isNaN(double v)
    64     {
    64     {
    65       return v!=v;
    65       return v!=v;
    66     }
    66     }
    67 
    67 
    68   /// @}
    68   /// @}