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

Public Types

typedef long _Ty
 

Public Member Functions

 _STCONS (bool, is_signed, true)
 
 _STCONS (int, digits, CHAR_BIT *sizeof(long)-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 _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 long numeric_limits< long >::_Ty

Member Function Documentation

numeric_limits< long >::_STCONS ( bool  ,
is_signed  ,
true   
)
numeric_limits< long >::_STCONS ( int  ,
digits  ,
CHAR_BIT *sizeof(long)-  1 
)
static _Ty numeric_limits< long >::denorm_min ( )
inlinestatic
797  { // return minimum denormalized value
798  return (0);
799  }
static _Ty numeric_limits< long >::epsilon ( )
inlinestatic
787  { // return smallest effective increment from 1.0
788  return (0);
789  }
static _Ty numeric_limits< long >::infinity ( )
inlinestatic
802  { // return positive infinity
803  return (0);
804  }
static _Ty numeric_limits< long >::lowest ( )
inlinestatic
782  { // return most negative value
783  return ((min)());
784  }
static _Ty() min() _THROW0()
Definition: limits:771
static _Ty() numeric_limits< long >::max ( )
inlinestatic
777  { // return maximum value
778  return (LONG_MAX);
779  }
#define LONG_MAX
Definition: limits.h:43
static _Ty() numeric_limits< long >::min ( )
inlinestatic
772  { // return minimum value
773  return (LONG_MIN);
774  }
#define LONG_MIN
Definition: limits.h:42
static _Ty numeric_limits< long >::quiet_NaN ( )
inlinestatic
807  { // return non-signaling NaN
808  return (0);
809  }
static _Ty numeric_limits< long >::round_error ( )
inlinestatic
792  { // return largest rounding error
793  return (0);
794  }
static _Ty numeric_limits< long >::signaling_NaN ( )
inlinestatic
812  { // return signaling NaN
813  return (0);
814  }

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