24 #ifndef _ALMOST_EQUAL_HPP_
25 #define _ALMOST_EQUAL_HPP_
36 template <
typename float_type>
39 float_type scale = a==float_type(0.0) ? float_type(1.0) : a;
48 #endif // _ALMOST_EQUAL_HPP_
bool almost_equal(float_type a, float_type b, int multiplier=1)