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

Public Types

typedef double _Ty
 

Public Member Functions

 _STCONS (int, digits, DBL_MANT_DIG)
 
 _STCONS (int, digits10, DBL_DIG)
 
 _STCONS (int, max_digits10, 2+DBL_MANT_DIG *301L/1000)
 
 _STCONS (int, max_exponent,(int) DBL_MAX_EXP)
 
 _STCONS (int, max_exponent10,(int) DBL_MAX_10_EXP)
 
 _STCONS (int, min_exponent,(int) DBL_MIN_EXP)
 
 _STCONS (int, min_exponent10,(int) DBL_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 _Ty() min () _THROW0()
 
static _Ty() max () _THROW0()
 
static _Ty lowest () _THROW0()
 
static _Ty epsilon () _THROW0()
 
static _Ty round_error () _THROW0()
 
static _Ty denorm_min () _THROW0()
 
static _Ty infinity () _THROW0()
 
static _Ty quiet_NaN () _THROW0()
 
static _Ty signaling_NaN () _THROW0()
 

Member Typedef Documentation

typedef double numeric_limits< double >::_Ty

Member Function Documentation

numeric_limits< double >::_STCONS ( int  ,
digits  ,
DBL_MANT_DIG   
)
numeric_limits< double >::_STCONS ( int  ,
digits10  ,
DBL_DIG   
)
numeric_limits< double >::_STCONS ( int  ,
max_digits10  ,
2+DBL_MANT_DIG *301L/  1000 
)
numeric_limits< double >::_STCONS ( int  ,
max_exponent  ,
(int DBL_MAX_EXP 
)
numeric_limits< double >::_STCONS ( int  ,
max_exponent10  ,
(int DBL_MAX_10_EXP 
)
numeric_limits< double >::_STCONS ( int  ,
min_exponent  ,
(int DBL_MIN_EXP 
)
numeric_limits< double >::_STCONS ( int  ,
min_exponent10  ,
(int DBL_MIN_10_EXP 
)
static _Ty numeric_limits< double >::denorm_min ( )
inlinestatic
1154  { // return minimum denormalized value
1155  return (_CSTD _Denorm._Double);
1156  }
double _Double
Definition: ymath.h:39
#define _CSTD
Definition: yvals.h:559
_CRTIMP2_PURE _Dconst _Denorm
static _Ty numeric_limits< double >::epsilon ( )
inlinestatic
1144  { // return smallest effective increment from 1.0
1145  return (DBL_EPSILON);
1146  }
#define DBL_EPSILON
Definition: float.h:74
static _Ty numeric_limits< double >::infinity ( )
inlinestatic
1159  { // return positive infinity
1160  return (_CSTD _Inf._Double);
1161  }
_CRTIMP2_PURE _Dconst _Inf
double _Double
Definition: ymath.h:39
#define _CSTD
Definition: yvals.h:559
static _Ty numeric_limits< double >::lowest ( )
inlinestatic
1139  { // return most negative value
1140  return (-(max)());
1141  }
static _Ty() max() _THROW0()
Definition: limits:1133
static _Ty() numeric_limits< double >::max ( )
inlinestatic
1134  { // return maximum value
1135  return (DBL_MAX);
1136  }
#define DBL_MAX
Definition: float.h:76
static _Ty() numeric_limits< double >::min ( )
inlinestatic
1129  { // return minimum value
1130  return (DBL_MIN);
1131  }
#define DBL_MIN
Definition: float.h:79
static _Ty numeric_limits< double >::quiet_NaN ( )
inlinestatic
1164  { // return non-signaling NaN
1165  return (_CSTD _Nan._Double);
1166  }
_CRTIMP2_PURE _Dconst _Nan
double _Double
Definition: ymath.h:39
#define _CSTD
Definition: yvals.h:559
static _Ty numeric_limits< double >::round_error ( )
inlinestatic
1149  { // return largest rounding error
1150  return (0.5);
1151  }
static _Ty numeric_limits< double >::signaling_NaN ( )
inlinestatic
1169  { // return signaling NaN
1170  return (_CSTD _Snan._Double);
1171  }
_CRTIMP2_PURE _Dconst _Snan
double _Double
Definition: ymath.h:39
#define _CSTD
Definition: yvals.h:559

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