---
name: "std::tr1::__detail::__numeric_constants"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/std::tr1::__detail::__numeric_constants/3cxx"
---

# std::tr1::\_\_detail::\_\_numeric\_constants(3cxx)

## NAME

std::tr1::\_\_detail::\_\_numeric\_constants\< \_Tp \> -

## SYNOPSIS

### 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 ()` [inline]`, ` [static]`

Constant $ 1 / i $.

Definition at line 75 of file special\_function\_util.h.

### template\<typename \_Tp \> static \_Tp std::tr1::\_\_detail::\_\_numeric\_constants\< \_Tp \>::\_\_2\_sqrtpi () throw ()` [inline]`, ` [static]`

Constant $ 2 / qrt(i) $.

Definition at line 78 of file special\_function\_util.h.

### template\<typename \_Tp \> static \_Tp std::tr1::\_\_detail::\_\_numeric\_constants\< \_Tp \>::\_\_euler () throw ()` [inline]`, ` [static]`

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 \>::\_\_gamma\_e () throw ()` [inline]`, ` [static]`

Constant Euler's constant $ mma\_E $.

Definition at line 96 of file special\_function\_util.h.

Referenced by std::tr1::\_\_detail::\_\_expint\_E1\_series(), std::tr1::\_\_detail::\_\_expint\_Ei\_series(), std::tr1::\_\_detail::\_\_expint\_En\_series(), std::tr1::\_\_detail::\_\_hyperg\_reflect(), and std::tr1::\_\_detail::\_\_psi\_series().

### template\<typename \_Tp \> static \_Tp std::tr1::\_\_detail::\_\_numeric\_constants\< \_Tp \>::\_\_lnpi () throw ()` [inline]`, ` [static]`

Constant $

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 () throw ()` [inline]`, ` [static]`

Constant $ i $.

Definition at line 63 of file special\_function\_util.h.

Referenced by std::tr1::\_\_detail::\_\_airy(), std::tr1::\_\_detail::\_\_bessel\_ik(), std::tr1::\_\_detail::\_\_bessel\_jn(), std::tr1::\_\_detail::\_\_ellint\_1(), std::tr1::\_\_detail::\_\_ellint\_2(), std::tr1::\_\_detail::\_\_ellint\_3(), std::tr1::\_\_detail::\_\_psi(), std::tr1::\_\_detail::\_\_riemann\_zeta(), and std::tr1::\_\_detail::\_\_riemann\_zeta\_glob().

### template\<typename \_Tp \> static \_Tp std::tr1::\_\_detail::\_\_numeric\_constants\< \_Tp \>::\_\_pi\_2 () throw ()` [inline]`, ` [static]`

Constant $ i / 2 $.

Definition at line 66 of file special\_function\_util.h.

Referenced by std::tr1::\_\_detail::\_\_comp\_ellint\_1\_series(), std::tr1::\_\_detail::\_\_comp\_ellint\_2\_series(), and std::tr1::\_\_detail::\_\_poly\_laguerre\_large\_n().

### template\<typename \_Tp \> static \_Tp std::tr1::\_\_detail::\_\_numeric\_constants\< \_Tp \>::\_\_pi\_3 () throw ()` [inline]`, ` [static]`

Constant $ i / 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 ()` [inline]`, ` [static]`

Constant $ i / 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 ()` [inline]`, ` [static]`

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 ()` [inline]`, ` [static]`

Constant $ qrt(2) $.

Definition at line 81 of file special\_function\_util.h.

### template\<typename \_Tp \> static \_Tp std::tr1::\_\_detail::\_\_numeric\_constants\< \_Tp \>::\_\_sqrt3 () throw ()` [inline]`, ` [static]`

Constant $ qrt(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 ()` [inline]`, ` [static]`

Constant $ qrt(i/2) $.

Definition at line 87 of file special\_function\_util.h.

Referenced by std::tr1::\_\_detail::\_\_sph\_bessel\_ik(), and std::tr1::\_\_detail::\_\_sph\_bessel\_jn().

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
