...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
std::numeric_limits<::boost::units::quantity< Unit, T >>
// In header: <boost/units/limits.hpp> template<typename Unit, typename T> class numeric_limits<::boost::units::quantity< Unit, T >> { public: // types typedef ::boost::units::quantity< Unit, T > quantity_type; // public static functions static BOOST_CONSTEXPR quantity_type() min(); static BOOST_CONSTEXPR quantity_type() max(); static BOOST_CONSTEXPR quantity_type() lowest(); static BOOST_CONSTEXPR quantity_type epsilon(); static BOOST_CONSTEXPR quantity_type round_error(); static BOOST_CONSTEXPR quantity_type infinity(); static BOOST_CONSTEXPR quantity_type quiet_NaN(); static BOOST_CONSTEXPR quantity_type signaling_NaN(); static BOOST_CONSTEXPR quantity_type denorm_min(); // public data members BOOST_STATIC_CONSTEXPR bool is_specialized; BOOST_STATIC_CONSTEXPR int digits; BOOST_STATIC_CONSTEXPR int digits10; BOOST_STATIC_CONSTEXPR int max_digits10; BOOST_STATIC_CONSTEXPR bool is_signed; BOOST_STATIC_CONSTEXPR bool is_integer; BOOST_STATIC_CONSTEXPR bool is_exact; BOOST_STATIC_CONSTEXPR int radix; BOOST_STATIC_CONSTEXPR int min_exponent; BOOST_STATIC_CONSTEXPR int min_exponent10; BOOST_STATIC_CONSTEXPR int max_exponent; BOOST_STATIC_CONSTEXPR int max_exponent10; BOOST_STATIC_CONSTEXPR bool has_infinity; BOOST_STATIC_CONSTEXPR bool has_quiet_NaN; BOOST_STATIC_CONSTEXPR bool has_signaling_NaN; BOOST_STATIC_CONSTEXPR bool has_denorm_loss; BOOST_STATIC_CONSTEXPR bool is_iec559; BOOST_STATIC_CONSTEXPR bool is_bounded; BOOST_STATIC_CONSTEXPR bool is_modulo; BOOST_STATIC_CONSTEXPR bool traps; BOOST_STATIC_CONSTEXPR bool tinyness_before; BOOST_STATIC_CONSTEXPR float_denorm_style has_denorm; BOOST_STATIC_CONSTEXPR float_round_style round_style; };
numeric_limits
public static functionsstatic BOOST_CONSTEXPR quantity_type() min();
static BOOST_CONSTEXPR quantity_type() max();
static BOOST_CONSTEXPR quantity_type() lowest();
static BOOST_CONSTEXPR quantity_type epsilon();
static BOOST_CONSTEXPR quantity_type round_error();
static BOOST_CONSTEXPR quantity_type infinity();
static BOOST_CONSTEXPR quantity_type quiet_NaN();
static BOOST_CONSTEXPR quantity_type signaling_NaN();
static BOOST_CONSTEXPR quantity_type denorm_min();