lemon/math.h
changeset 803 1b89e29c9fc7
parent 470 81627fa1b007
child 877 141f9c0db4a3
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   /// @}