std::numeric_limits< _Tp > Struct Template Reference

Properties of fundamental types. More...

Inheritance diagram for std::numeric_limits< _Tp >:

std::__numeric_limits_base List of all members.

Static Public Member Functions

_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 ()

Detailed Description

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

Properties of fundamental types.

This class allows a program to obtain information about the representation of a fundamental type on a given platform. For non-fundamental types, the functions will return 0 and the data members will all be false.

Definition at line 286 of file limits.


Member Function Documentation

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

The minimum positive denormalized value. For types where has_denorm is false, this is the minimum positive normalized value.

Definition at line 308 of file limits.

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

The machine epsilon: the difference between 1 and the least value greater than 1 that is representable.

Definition at line 295 of file limits.

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

The representation of positive infinity, if has_infinity.

Definition at line 299 of file limits.

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

The maximum finite value.

Definition at line 292 of file limits.

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

The minimum finite value, or for floating types with denormalization, the minimum positive normalized value.

Definition at line 290 of file limits.

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

The representation of a quiet "Not a Number," if has_quiet_NaN.

Definition at line 301 of file limits.

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

The maximum rounding error measurement (see LIA-1).

Definition at line 297 of file limits.

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

The representation of a signaling "Not a Number," if has_signaling_NaN.

Definition at line 304 of file limits.


The documentation for this struct was generated from the following file:
Generated on Tue Jan 30 17:32:18 2007 for GNU C++ STL by doxygen 1.3.6