libstdc++
std::tr1::__detail::__numeric_constants< _Tp > Struct Template Reference

List of all members.

Static Public Member Functions

static _Tp __1_pi () throw ()
static _Tp __2_sqrtpi () throw ()
static _Tp __euler () throw ()
static _Tp __gamma_e () throw ()
static _Tp __lnpi () throw ()
static _Tp __pi () throw ()
static _Tp __pi_2 () throw ()
static _Tp __pi_3 () throw ()
static _Tp __pi_4 () throw ()
static _Tp __sqrt1_2 () throw ()
static _Tp __sqrt2 () throw ()
static _Tp __sqrt3 () throw ()
static _Tp __sqrtpio2 () throw ()

Detailed Description

template<typename _Tp>
struct std::tr1::__detail::__numeric_constants< _Tp >

A structure for numeric constants.

Definition at line 60 of file special_function_util.h.


Member Function Documentation

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__1_pi ( ) throw ()
inlinestatic

Constant $ 1 / \pi $.

Definition at line 75 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__2_sqrtpi ( ) throw ()
inlinestatic

Constant $ 2 / \sqrt(\pi) $.

Definition at line 78 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__euler ( ) throw ()
inlinestatic

Constant Euler-Mascheroni $ e $.

Definition at line 99 of file special_function_util.h.

Referenced by std::tr1::__detail::__log_gamma_lanczos().

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__lnpi ( ) throw ()
inlinestatic

Constant $ \log(\pi) $.

Definition at line 93 of file special_function_util.h.

Referenced by std::tr1::__detail::__log_gamma(), and std::tr1::__detail::__sph_legendre().

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_2 ( ) throw ()
inlinestatic
template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_3 ( ) throw ()
inlinestatic

Constant $ \pi / 3 $.

Definition at line 69 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_4 ( ) throw ()
inlinestatic

Constant $ \pi / 4 $.

Definition at line 72 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt1_2 ( ) throw ()
inlinestatic

Constant $ 1 / sqrt(2) $.

Definition at line 90 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt2 ( ) throw ()
inlinestatic

Constant $ \sqrt(2) $.

Definition at line 81 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt3 ( ) throw ()
inlinestatic

Constant $ \sqrt(3) $.

Definition at line 84 of file special_function_util.h.

Referenced by std::tr1::__detail::__airy().

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrtpio2 ( ) throw ()
inlinestatic

The documentation for this struct was generated from the following file: