33 #include <boost/math/special_functions/fpclassify.hpp>
40 static const double MAX_DOUBLE = std::numeric_limits< double >::max();
42 static const float MAX_FLOAT = std::numeric_limits< float >::max();
44 static const size_t MAX_SIZE_T = std::numeric_limits< size_t >::max();
46 static const int32_t
MAX_INT32_T = std::numeric_limits< int32_t >::max();
48 static const double MIN_DOUBLE = std::numeric_limits< double >::min();
53 static const double DBL_EPS = std::numeric_limits< double >::epsilon();
58 static const float FLT_EPS = std::numeric_limits< float >::epsilon();
69 template<
typename T >
bool isnan( T value );
80 template<
typename T >
bool isinf( T value );
85 return boost::math::isnan( value );
90 return boost::math::isinf( value );