37 #ifndef _GLIBCXX_TR1_SPECIAL_FUNCTION_UTIL_H
38 #define _GLIBCXX_TR1_SPECIAL_FUNCTION_UTIL_H 1
51 template<
typename _Tp>
54 static const _Tp __value;
59 template<
typename _Tp>
64 {
return static_cast<_Tp
>(3.1415926535897932384626433832795029L); }
67 {
return static_cast<_Tp
>(1.5707963267948966192313216916397514L); }
70 {
return static_cast<_Tp
>(1.0471975511965977461542144610931676L); }
73 {
return static_cast<_Tp
>(0.7853981633974483096156608458198757L); }
76 {
return static_cast<_Tp
>(0.3183098861837906715377675267450287L); }
79 {
return static_cast<_Tp
>(1.1283791670955125738961589031215452L); }
82 {
return static_cast<_Tp
>(1.4142135623730950488016887242096981L); }
85 {
return static_cast<_Tp
>(1.7320508075688772935274463415058723L); }
88 {
return static_cast<_Tp
>(1.2533141373155002512078826424055226L); }
91 {
return static_cast<_Tp
>(0.7071067811865475244008443621048490L); }
94 {
return static_cast<_Tp
>(1.1447298858494001741434273513530587L); }
97 {
return static_cast<_Tp
>(0.5772156649015328606065120900824024L); }
100 {
return static_cast<_Tp
>(2.7182818284590452353602874713526625L); }
104 #if _GLIBCXX_USE_C99_MATH && !_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC
110 template<
typename _Tp>
111 inline bool __isnan(
const _Tp __x)
113 return std::isnan(__x);
118 template<
typename _Tp>
119 inline bool __isnan(
const _Tp __x)
121 return __builtin_isnan(__x);
125 inline bool __isnan<float>(
const float __x)
127 return __builtin_isnanf(__x);
131 inline bool __isnan<long double>(
const long double __x)
133 return __builtin_isnanl(__x);
143 #endif // _GLIBCXX_TR1_SPECIAL_FUNCTION_UTIL_H
static _Tp __sqrt2()
Constant .
static _Tp __sqrtpio2()
Constant .
static _Tp __pi_4()
Constant .
ISO C++ entities toplevel namespace is std.
static _Tp __1_pi()
Constant .
static _Tp __sqrt1_2()
Constant .
static _Tp __gamma_e()
Constant Euler's constant .
A structure for numeric constants.
static _Tp __pi_3()
Constant .
static _Tp __euler()
Constant Euler-Mascheroni .
A class to encapsulate type dependent floating point constants. Not everything will be able to be exp...
static _Tp __2_sqrtpi()
Constant .
static _Tp __sqrt3()
Constant .
static _Tp __pi()
Constant .
static _Tp __pi_2()
Constant .
static _Tp __lnpi()
Constant .