lemon/math.h
changeset 667 7e13120d90a2
parent 470 81627fa1b007
child 761 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   /// @}