|
@@ -114,7 +114,8 @@ struct NumericLimits<unsigned long long> {
|
|
|
template<>
|
|
|
struct NumericLimits<float> {
|
|
|
static constexpr float lowest() { return -__FLT_MAX__; }
|
|
|
- static constexpr float min() { return __FLT_MIN__; }
|
|
|
+ static constexpr float min_normal() { return __FLT_MIN__; }
|
|
|
+ static constexpr float min_denormal() { return __FLT_DENORM_MIN__; }
|
|
|
static constexpr float max() { return __FLT_MAX__; }
|
|
|
static constexpr float epsilon() { return __FLT_EPSILON__; }
|
|
|
static constexpr bool is_signed() { return true; }
|
|
@@ -124,7 +125,8 @@ struct NumericLimits<float> {
|
|
|
template<>
|
|
|
struct NumericLimits<double> {
|
|
|
static constexpr double lowest() { return -__DBL_MAX__; }
|
|
|
- static constexpr double min() { return __DBL_MIN__; }
|
|
|
+ static constexpr double min_normal() { return __DBL_MIN__; }
|
|
|
+ static constexpr double min_denormal() { return __DBL_DENORM_MIN__; }
|
|
|
static constexpr double max() { return __DBL_MAX__; }
|
|
|
static constexpr double epsilon() { return __DBL_EPSILON__; }
|
|
|
static constexpr bool is_signed() { return true; }
|
|
@@ -134,7 +136,8 @@ struct NumericLimits<double> {
|
|
|
template<>
|
|
|
struct NumericLimits<long double> {
|
|
|
static constexpr long double lowest() { return -__LDBL_MAX__; }
|
|
|
- static constexpr long double min() { return __LDBL_MIN__; }
|
|
|
+ static constexpr long double min_normal() { return __LDBL_MIN__; }
|
|
|
+ static constexpr long double min_denormal() { return __LDBL_DENORM_MIN__; }
|
|
|
static constexpr long double max() { return __LDBL_MAX__; }
|
|
|
static constexpr long double epsilon() { return __LDBL_EPSILON__; }
|
|
|
static constexpr bool is_signed() { return true; }
|