limits File Reference

#include <bits/c++config.h>

Go to the source code of this file.

Namespaces

namespace  std

Classes

struct  std::__numeric_limits_base
 Part of std::numeric_limits. More...
struct  std::numeric_limits< _Tp >
 Properties of fundamental types. More...
struct  std::numeric_limits< bool >
 numeric_limits<bool> specialization. More...
struct  std::numeric_limits< char >
 numeric_limits<char> specialization. More...
struct  std::numeric_limits< signed char >
 numeric_limits<signed char> specialization. More...
struct  std::numeric_limits< unsigned char >
 numeric_limits<unsigned char> specialization. More...
struct  std::numeric_limits< wchar_t >
 numeric_limits<wchar_t> specialization. More...
struct  std::numeric_limits< short >
 numeric_limits<short> specialization. More...
struct  std::numeric_limits< unsigned short >
 numeric_limits<unsigned short> specialization. More...
struct  std::numeric_limits< int >
 numeric_limits<int> specialization. More...
struct  std::numeric_limits< unsigned int >
 numeric_limits<unsigned int> specialization. More...
struct  std::numeric_limits< long >
 numeric_limits<long> specialization. More...
struct  std::numeric_limits< unsigned long >
 numeric_limits<unsigned long> specialization. More...
struct  std::numeric_limits< long long >
 numeric_limits<long long> specialization. More...
struct  std::numeric_limits< unsigned long long >
 numeric_limits<unsigned long long> specialization. More...
struct  std::numeric_limits< float >
 numeric_limits<float> specialization. More...
struct  std::numeric_limits< double >
 numeric_limits<double> specialization. More...
struct  std::numeric_limits< long double >
 numeric_limits<long double> specialization. More...

Defines

#define _GLIBCXX_NUMERIC_LIMITS   1
#define __glibcxx_integral_traps   true
#define __glibcxx_float_has_denorm_loss   false
#define __glibcxx_float_traps   false
#define __glibcxx_float_tinyness_before   false
#define __glibcxx_double_has_denorm_loss   false
#define __glibcxx_double_traps   false
#define __glibcxx_double_tinyness_before   false
#define __glibcxx_long_double_has_denorm_loss   false
#define __glibcxx_long_double_traps   false
#define __glibcxx_long_double_tinyness_before   false
#define __glibcxx_signed(T)   ((T)(-1) < 0)
#define __glibcxx_min(T)   (__glibcxx_signed (T) ? (T)1 << __glibcxx_digits (T) : (T)0)
#define __glibcxx_max(T)   (__glibcxx_signed (T) ? ((T)1 << __glibcxx_digits (T)) - 1 : ~(T)0)
#define __glibcxx_digits(T)   (sizeof(T) * __CHAR_BIT__ - __glibcxx_signed (T))
#define __glibcxx_digits10(T)   (__glibcxx_digits (T) * 643 / 2136)

Enumerations

enum  std::float_round_style {
  std::round_indeterminate = -1, std::round_toward_zero = 0, std::round_to_nearest = 1, std::round_toward_infinity = 2,
  std::round_toward_neg_infinity = 3
}
 Describes the rounding style for floating-point types. More...
enum  std::float_denorm_style { std::denorm_indeterminate = -1, std::denorm_absent = 0, std::denorm_present = 1 }
 Describes the denormalization for floating-point types. More...


Detailed Description

This is a Standard C++ Library header.

Definition in file limits.


Define Documentation

#define __glibcxx_digits (  )     (sizeof(T) * __CHAR_BIT__ - __glibcxx_signed (T))

Definition at line 141 of file limits.

#define __glibcxx_digits10 (  )     (__glibcxx_digits (T) * 643 / 2136)

Definition at line 145 of file limits.

#define __glibcxx_double_has_denorm_loss   false

Definition at line 108 of file limits.

#define __glibcxx_double_tinyness_before   false

Definition at line 114 of file limits.

#define __glibcxx_double_traps   false

Definition at line 111 of file limits.

#define __glibcxx_float_has_denorm_loss   false

Definition at line 94 of file limits.

#define __glibcxx_float_tinyness_before   false

Definition at line 100 of file limits.

#define __glibcxx_float_traps   false

Definition at line 97 of file limits.

#define __glibcxx_integral_traps   true

Definition at line 85 of file limits.

#define __glibcxx_long_double_has_denorm_loss   false

Definition at line 122 of file limits.

#define __glibcxx_long_double_tinyness_before   false

Definition at line 128 of file limits.

#define __glibcxx_long_double_traps   false

Definition at line 125 of file limits.

#define __glibcxx_max (  )     (__glibcxx_signed (T) ? ((T)1 << __glibcxx_digits (T)) - 1 : ~(T)0)

Definition at line 138 of file limits.

Referenced by std::numeric_limits< wchar_t >::max(), and std::numeric_limits< char >::max().

#define __glibcxx_min (  )     (__glibcxx_signed (T) ? (T)1 << __glibcxx_digits (T) : (T)0)

Definition at line 135 of file limits.

Referenced by std::numeric_limits< wchar_t >::min(), and std::numeric_limits< char >::min().

#define __glibcxx_signed (  )     ((T)(-1) < 0)

Definition at line 133 of file limits.

#define _GLIBCXX_NUMERIC_LIMITS   1

Definition at line 43 of file limits.


Generated on Tue Feb 2 16:57:22 2010 for GNU C++ STL by  doxygen 1.4.7