GNU g++  v5.2.1
GNU Standard C++
numeric_traits.h File Reference

This file is a GNU extension to the Standard C++ Library. More...

Include dependency graph for numeric_traits.h:
This graph shows which files directly or indirectly include this file:

Macros

#define __glibcxx_digits(_Tp)   (sizeof(_Tp) * __CHAR_BIT__ - __glibcxx_signed(_Tp))
 
#define __glibcxx_digits10(_Tp)   __glibcxx_floating(_Tp, __FLT_DIG__, __DBL_DIG__, __LDBL_DIG__)
 
#define __glibcxx_floating(_Tp, _Fval, _Dval, _LDval)
 
#define __glibcxx_max(_Tp)
 
#define __glibcxx_max_digits10(_Tp)
 
#define __glibcxx_max_exponent10(_Tp)
 
#define __glibcxx_min(_Tp)   (__glibcxx_signed(_Tp) ? (_Tp)1 << __glibcxx_digits(_Tp) : (_Tp)0)
 
#define __glibcxx_signed(_Tp)   ((_Tp)(-1) < 0)
 

Functions

namespace __gnu_cxx _GLIBCXX_VISIBILITY (default)
 

Detailed Description

This file is a GNU extension to the Standard C++ Library.

Macro Definition Documentation

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

Referenced by _GLIBCXX_VISIBILITY().

#define __glibcxx_digits10 (   _Tp)    __glibcxx_floating(_Tp, __FLT_DIG__, __DBL_DIG__, __LDBL_DIG__)

Referenced by _GLIBCXX_VISIBILITY().

#define __glibcxx_floating (   _Tp,
  _Fval,
  _Dval,
  _LDval 
)
Value:
(std::__are_same<_Tp, float>::__value ? _Fval \
: std::__are_same<_Tp, double>::__value ? _Dval : _LDval)
#define __glibcxx_max (   _Tp)
Value:
(((((_Tp)1 << (__glibcxx_digits(_Tp) - 1)) - 1) << 1) + 1) : ~(_Tp)0)
#define __glibcxx_signed(_Tp)
#define __glibcxx_digits(_Tp)

Referenced by _GLIBCXX_VISIBILITY().

#define __glibcxx_max_digits10 (   _Tp)
Value:
(2 + __glibcxx_floating(_Tp, __FLT_MANT_DIG__, __DBL_MANT_DIG__, \
__LDBL_MANT_DIG__) * 643L / 2136)
#define __glibcxx_floating(_Tp, _Fval, _Dval, _LDval)

Referenced by _GLIBCXX_VISIBILITY().

#define __glibcxx_max_exponent10 (   _Tp)
Value:
__glibcxx_floating(_Tp, __FLT_MAX_10_EXP__, __DBL_MAX_10_EXP__, \
__LDBL_MAX_10_EXP__)
#define __glibcxx_floating(_Tp, _Fval, _Dval, _LDval)

Referenced by _GLIBCXX_VISIBILITY().

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

Referenced by _GLIBCXX_VISIBILITY().

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

Referenced by _GLIBCXX_VISIBILITY().

Function Documentation

namespace __gnu_cxx _GLIBCXX_VISIBILITY ( default  )