STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | List of all members
numeric_limits< long double > Class Template Reference
Inheritance diagram for numeric_limits< long double >:
_Num_float_base _Num_base

Public Types

typedef long double _Ty
 

Public Member Functions

 _STCONS (int, digits, LDBL_MANT_DIG)
 
 _STCONS (int, digits10, LDBL_DIG)
 
 _STCONS (int, max_digits10, 2+LDBL_MANT_DIG *301L/1000)
 
 _STCONS (int, max_exponent,(int) LDBL_MAX_EXP)
 
 _STCONS (int, max_exponent10,(int) LDBL_MAX_10_EXP)
 
 _STCONS (int, min_exponent,(int) LDBL_MIN_EXP)
 
 _STCONS (int, min_exponent10,(int) LDBL_MIN_10_EXP)
 
- Public Member Functions inherited from _Num_float_base
 _STCONS (float_denorm_style, has_denorm, denorm_present)
 
 _STCONS (bool, has_denorm_loss, true)
 
 _STCONS (bool, has_infinity, true)
 
 _STCONS (bool, has_quiet_NaN, true)
 
 _STCONS (bool, has_signaling_NaN, true)
 
 _STCONS (bool, is_bounded, true)
 
 _STCONS (bool, is_exact, false)
 
 _STCONS (bool, is_iec559, true)
 
 _STCONS (bool, is_integer, false)
 
 _STCONS (bool, is_modulo, false)
 
 _STCONS (bool, is_signed, true)
 
 _STCONS (bool, is_specialized, true)
 
 _STCONS (bool, tinyness_before, true)
 
 _STCONS (bool, traps, false)
 
 _STCONS (float_round_style, round_style, round_to_nearest)
 
 _STCONS (int, radix, FLT_RADIX)
 
- Public Member Functions inherited from _Num_base
 _STCONS (float_denorm_style, has_denorm, denorm_absent)
 
 _STCONS (bool, has_denorm_loss, false)
 
 _STCONS (bool, has_infinity, false)
 
 _STCONS (bool, has_quiet_NaN, false)
 
 _STCONS (bool, has_signaling_NaN, false)
 
 _STCONS (bool, is_bounded, false)
 
 _STCONS (bool, is_exact, false)
 
 _STCONS (bool, is_iec559, false)
 
 _STCONS (bool, is_integer, false)
 
 _STCONS (bool, is_modulo, false)
 
 _STCONS (bool, is_signed, false)
 
 _STCONS (bool, is_specialized, false)
 
 _STCONS (bool, tinyness_before, false)
 
 _STCONS (bool, traps, false)
 
 _STCONS (float_round_style, round_style, round_toward_zero)
 
 _STCONS (int, digits, 0)
 
 _STCONS (int, digits10, 0)
 
 _STCONS (int, max_digits10, 0)
 
 _STCONS (int, max_exponent, 0)
 
 _STCONS (int, max_exponent10, 0)
 
 _STCONS (int, min_exponent, 0)
 
 _STCONS (int, min_exponent10, 0)
 
 _STCONS (int, radix, 0)
 

Static Public Member Functions

static constexpr _Ty() min () _THROW0()
 
static constexpr _Ty() max () _THROW0()
 
static constexpr _Ty lowest () _THROW0()
 
static constexpr _Ty epsilon () _THROW0()
 
static constexpr _Ty round_error () _THROW0()
 
static constexpr _Ty denorm_min () _THROW0()
 
static constexpr _Ty infinity () _THROW0()
 
static constexpr _Ty quiet_NaN () _THROW0()
 
static constexpr _Ty signaling_NaN () _THROW0()
 

Member Typedef Documentation

typedef long double numeric_limits< long double >::_Ty

Member Function Documentation

numeric_limits< long double >::_STCONS ( int  ,
digits  ,
LDBL_MANT_DIG   
)
numeric_limits< long double >::_STCONS ( int  ,
digits10  ,
LDBL_DIG   
)
numeric_limits< long double >::_STCONS ( int  ,
max_digits10  ,
2+LDBL_MANT_DIG *301L/  1000 
)
numeric_limits< long double >::_STCONS ( int  ,
max_exponent  ,
(int)  LDBL_MAX_EXP 
)
numeric_limits< long double >::_STCONS ( int  ,
max_exponent10  ,
(int)  LDBL_MAX_10_EXP 
)
numeric_limits< long double >::_STCONS ( int  ,
min_exponent  ,
(int)  LDBL_MIN_EXP 
)
numeric_limits< long double >::_STCONS ( int  ,
min_exponent10  ,
(int)  LDBL_MIN_10_EXP 
)
static constexpr _Ty numeric_limits< long double >::denorm_min ( )
inlinestatic
1233  { // return minimum denormalized value
1234  return (_LDBL_TRUE_MIN);
1235  }
#define _LDBL_TRUE_MIN
Definition: limits:49
static constexpr _Ty numeric_limits< long double >::epsilon ( )
inlinestatic
1223  { // return smallest effective increment from 1.0
1224  return (_LDBL_EPSILON);
1225  }
#define _LDBL_EPSILON
Definition: limits:48
static constexpr _Ty numeric_limits< long double >::infinity ( )
inlinestatic
1238  { // return positive infinity
1239  return (__builtin_huge_val());
1240  }
static constexpr _Ty numeric_limits< long double >::lowest ( )
inlinestatic
1218  { // return most negative value
1219  return (-(max)());
1220  }
static constexpr _Ty() max() _THROW0()
Definition: limits:1212
static constexpr _Ty() numeric_limits< long double >::max ( )
inlinestatic
1213  { // return maximum value
1214  return (_LDBL_MAX);
1215  }
#define _LDBL_MAX
Definition: limits:47
static constexpr _Ty() numeric_limits< long double >::min ( )
inlinestatic
1208  { // return minimum value
1209  return (_LDBL_MIN);
1210  }
#define _LDBL_MIN
Definition: limits:46
static constexpr _Ty numeric_limits< long double >::quiet_NaN ( )
inlinestatic
1243  { // return non-signaling NaN
1244  return (__builtin_nan("0"));
1245  }
static constexpr _Ty numeric_limits< long double >::round_error ( )
inlinestatic
1228  { // return largest rounding error
1229  return (0.5L);
1230  }
static constexpr _Ty numeric_limits< long double >::signaling_NaN ( )
inlinestatic
1248  { // return signaling NaN
1249  return (__builtin_nans("1"));
1250  }

The documentation for this class was generated from the following file: