Whole document tree
    

Whole document tree

Templatestd::numeric_limits struct Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::numeric_limits< _T > Struct Template Reference

Properties of fundamental types on a per-platform basis. More...

#include <limits_generic.h>

List of all members.

Static Public Methods

_T min () throw ()
_T max () throw ()
_T epsilon () throw ()
_T round_error () throw ()
_T infinity () throw ()
_T quiet_NaN () throw ()
_T signaling_NaN () throw ()
_T denorm_min () throw ()
_Tp min () throw ()
_Tp max () throw ()
_Tp epsilon () throw ()
_Tp round_error () throw ()
_Tp infinity () throw ()
_Tp quiet_NaN () throw ()
_Tp signaling_NaN () throw ()
_Tp denorm_min () throw ()

Static Public Attributes

const bool is_specialized = false
const int digits = 0
const int digits10 = 0
const bool is_signed = false
const bool is_integer = false
const bool is_exact = false
const int radix = 0
const int min_exponent = 0
const int min_exponent10 = 0
const int max_exponent = 0
const int max_exponent10 = 0
const bool has_infinity = false
const bool has_quiet_NaN = false
const bool has_signaling_NaN = false
const float_denorm_style has_denorm = denorm_absent
const bool has_denorm_loss = false
const bool is_iec559 = false
const bool is_bounded = false
const bool is_modulo = false
const bool traps = false
const bool tinyness_before = false
const float_round_style round_style = round_toward_zero


Detailed Description

template<typename _T>
struct std::numeric_limits< _T >

Properties of fundamental types on a per-platform basis.

[18.2.1]/1: "The numeric_limits component provides a C++ program with information about various properties of the implementation's representation of the fundamental types." All of the standard fundamental types have specializations of this class template.

Definition at line 80 of file limits_generic.h.


Member Function Documentation

template<typename _T>
_Tp std::numeric_limits< _T >::denorm_min   throw () [inline, static]
 

Definition at line 916 of file std_limits.h.

template<typename _T>
_T std::numeric_limits< _T >::denorm_min   throw () [inline, static]
 

Definition at line 110 of file limits_generic.h.

template<typename _T>
_Tp std::numeric_limits< _T >::epsilon   throw () [inline, static]
 

Definition at line 899 of file std_limits.h.

template<typename _T>
_T std::numeric_limits< _T >::epsilon   throw () [inline, static]
 

Definition at line 93 of file limits_generic.h.

template<typename _T>
_Tp std::numeric_limits< _T >::infinity   throw () [inline, static]
 

Definition at line 913 of file std_limits.h.

template<typename _T>
_T std::numeric_limits< _T >::infinity   throw () [inline, static]
 

Definition at line 107 of file limits_generic.h.

template<typename _T>
_Tp std::numeric_limits< _T >::max   throw () [inline, static]
 

Definition at line 890 of file std_limits.h.

template<typename _T>
_T std::numeric_limits< _T >::max   throw () [inline, static]
 

Definition at line 84 of file limits_generic.h.

template<typename _T>
_Tp std::numeric_limits< _T >::min   throw () [inline, static]
 

Definition at line 889 of file std_limits.h.

template<typename _T>
_T std::numeric_limits< _T >::min   throw () [inline, static]
 

Definition at line 83 of file limits_generic.h.

template<typename _T>
_Tp std::numeric_limits< _T >::quiet_NaN   throw () [inline, static]
 

Definition at line 914 of file std_limits.h.

template<typename _T>
_T std::numeric_limits< _T >::quiet_NaN   throw () [inline, static]
 

Definition at line 108 of file limits_generic.h.

template<typename _T>
_Tp std::numeric_limits< _T >::round_error   throw () [inline, static]
 

Definition at line 900 of file std_limits.h.

template<typename _T>
_T std::numeric_limits< _T >::round_error   throw () [inline, static]
 

Definition at line 94 of file limits_generic.h.

template<typename _T>
_Tp std::numeric_limits< _T >::signaling_NaN   throw () [inline, static]
 

Definition at line 915 of file std_limits.h.

template<typename _T>
_T std::numeric_limits< _T >::signaling_NaN   throw () [inline, static]
 

Definition at line 109 of file limits_generic.h.


Member Data Documentation

template<typename _T>
const int std::numeric_limits< _Tp >::digits = 0 [static]
 

Definition at line 933 of file std_limits.h.

template<typename _T>
const int std::numeric_limits< _Tp >::digits10 = 0 [static]
 

Definition at line 937 of file std_limits.h.

template<typename _T>
const float_denorm_style std::numeric_limits< _Tp >::has_denorm = denorm_absent [static]
 

Definition at line 985 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::has_denorm_loss = false [static]
 

Definition at line 989 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::has_infinity = false [static]
 

Definition at line 973 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::has_quiet_NaN = false [static]
 

Definition at line 977 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::has_signaling_NaN = false [static]
 

Definition at line 981 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::is_bounded = false [static]
 

Definition at line 997 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::is_exact = false [static]
 

Definition at line 949 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::is_iec559 = false [static]
 

Definition at line 993 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::is_integer = false [static]
 

Definition at line 945 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::is_modulo = false [static]
 

Definition at line 1001 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::is_signed = false [static]
 

Definition at line 941 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::is_specialized = false [static]
 

Definition at line 929 of file std_limits.h.

template<typename _T>
const int std::numeric_limits< _Tp >::max_exponent = 0 [static]
 

Definition at line 965 of file std_limits.h.

template<typename _T>
const int std::numeric_limits< _Tp >::max_exponent10 = 0 [static]
 

Definition at line 969 of file std_limits.h.

template<typename _T>
const int std::numeric_limits< _Tp >::min_exponent = 0 [static]
 

Definition at line 957 of file std_limits.h.

template<typename _T>
const int std::numeric_limits< _Tp >::min_exponent10 = 0 [static]
 

Definition at line 961 of file std_limits.h.

template<typename _T>
const int std::numeric_limits< _Tp >::radix = 0 [static]
 

Definition at line 953 of file std_limits.h.

template<typename _T>
const float_round_style std::numeric_limits< _Tp >::round_style = round_toward_zero [static]
 

Definition at line 1013 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::tinyness_before = false [static]
 

Definition at line 1009 of file std_limits.h.

template<typename _T>
const bool std::numeric_limits< _Tp >::traps = false [static]
 

Definition at line 1005 of file std_limits.h.


The documentation for this struct was generated from the following files:
Generated on Mon Apr 8 03:19:16 2002 for libstdc++-v3 Source by doxygen1.2.15