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< float > Class Template Reference
Inheritance diagram for numeric_limits< float >:
_Num_float_base _Num_base

Public Types

typedef float _Ty
 

Public Member Functions

 _STCONS (int, digits, FLT_MANT_DIG)
 
 _STCONS (int, digits10, FLT_DIG)
 
 _STCONS (int, max_digits10, 2+FLT_MANT_DIG *301L/1000)
 
 _STCONS (int, max_exponent,(int) FLT_MAX_EXP)
 
 _STCONS (int, max_exponent10,(int) FLT_MAX_10_EXP)
 
 _STCONS (int, min_exponent,(int) FLT_MIN_EXP)
 
 _STCONS (int, min_exponent10,(int) FLT_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 float numeric_limits< float >::_Ty

Member Function Documentation

numeric_limits< float >::_STCONS ( int  ,
digits  ,
FLT_MANT_DIG   
)
numeric_limits< float >::_STCONS ( int  ,
digits10  ,
FLT_DIG   
)
numeric_limits< float >::_STCONS ( int  ,
max_digits10  ,
2+FLT_MANT_DIG *301L/  1000 
)
numeric_limits< float >::_STCONS ( int  ,
max_exponent  ,
(int FLT_MAX_EXP 
)
numeric_limits< float >::_STCONS ( int  ,
max_exponent10  ,
(int FLT_MAX_10_EXP 
)
numeric_limits< float >::_STCONS ( int  ,
min_exponent  ,
(int FLT_MIN_EXP 
)
numeric_limits< float >::_STCONS ( int  ,
min_exponent10  ,
(int FLT_MIN_10_EXP 
)
static constexpr _Ty numeric_limits< float >::denorm_min ( )
inlinestatic
1108  { // return minimum denormalized value
1109  return (_FLT_TRUE_MIN);
1110  }
#define _FLT_TRUE_MIN
Definition: limits:40
static constexpr _Ty numeric_limits< float >::epsilon ( )
inlinestatic
1098  { // return smallest effective increment from 1.0
1099  return (_FLT_EPSILON);
1100  }
#define _FLT_EPSILON
Definition: limits:39
static constexpr _Ty numeric_limits< float >::infinity ( )
inlinestatic
1113  { // return positive infinity
1114  return (__builtin_huge_valf());
1115  }
static constexpr _Ty numeric_limits< float >::lowest ( )
inlinestatic
1093  { // return most negative value
1094  return (-(max)());
1095  }
static constexpr _Ty() max() _THROW0()
Definition: limits:1087
static constexpr _Ty() numeric_limits< float >::max ( )
inlinestatic
1088  { // return maximum value
1089  return (_FLT_MAX);
1090  }
#define _FLT_MAX
Definition: limits:38
static constexpr _Ty() numeric_limits< float >::min ( )
inlinestatic
1083  { // return minimum value
1084  return (_FLT_MIN);
1085  }
#define _FLT_MIN
Definition: limits:37
static constexpr _Ty numeric_limits< float >::quiet_NaN ( )
inlinestatic
1118  { // return non-signaling NaN
1119  return (__builtin_nanf("0"));
1120  }
static constexpr _Ty numeric_limits< float >::round_error ( )
inlinestatic
1103  { // return largest rounding error
1104  return (0.5F);
1105  }
static constexpr _Ty numeric_limits< float >::signaling_NaN ( )
inlinestatic
1123  { // return signaling NaN
1124  return (__builtin_nansf("1"));
1125  }

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