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

Public Types

typedef int _Ty
 

Public Member Functions

 _STCONS (bool, is_signed, true)
 
 _STCONS (int, digits, CHAR_BIT *sizeof(int)-1)
 
- Public Member Functions inherited from _Num_int_base
 _STCONS (bool, is_bounded, true)
 
 _STCONS (bool, is_exact, true)
 
 _STCONS (bool, is_integer, true)
 
 _STCONS (bool, is_modulo, true)
 
 _STCONS (bool, is_specialized, true)
 
 _STCONS (int, radix, 2)
 
- 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 int numeric_limits< int >::_Ty

Member Function Documentation

numeric_limits< int >::_STCONS ( bool  ,
is_signed  ,
true   
)
numeric_limits< int >::_STCONS ( int  ,
digits  ,
CHAR_BIT *sizeof(int)-  1 
)
static constexpr _Ty numeric_limits< int >::denorm_min ( )
inlinestatic
702  { // return minimum denormalized value
703  return (0);
704  }
static constexpr _Ty numeric_limits< int >::epsilon ( )
inlinestatic
692  { // return smallest effective increment from 1.0
693  return (0);
694  }
static constexpr _Ty numeric_limits< int >::infinity ( )
inlinestatic
707  { // return positive infinity
708  return (0);
709  }
static constexpr _Ty numeric_limits< int >::lowest ( )
inlinestatic
687  { // return most negative value
688  return ((min)());
689  }
static constexpr _Ty() min() _THROW0()
Definition: limits:676
static constexpr _Ty() numeric_limits< int >::max ( )
inlinestatic
682  { // return maximum value
683  return (INT_MAX);
684  }
#define INT_MAX
Definition: limits.h:35
static constexpr _Ty() numeric_limits< int >::min ( )
inlinestatic
677  { // return minimum value
678  return (INT_MIN);
679  }
#define INT_MIN
Definition: limits.h:34
static constexpr _Ty numeric_limits< int >::quiet_NaN ( )
inlinestatic
712  { // return non-signaling NaN
713  return (0);
714  }
static constexpr _Ty numeric_limits< int >::round_error ( )
inlinestatic
697  { // return largest rounding error
698  return (0);
699  }
static constexpr _Ty numeric_limits< int >::signaling_NaN ( )
inlinestatic
717  { // return signaling NaN
718  return (0);
719  }

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