libfxd 0.2.dev
A fixed-point library for C++.
Loading...
Searching...
No Matches
std::numbers Namespace Reference

Specialization for mathematical constants. More...

Variables

template<fxd::fixed_point Fxd>
const Fxd e_v< Fxd >
 Fixed-point constant for \( e \).
 
template<fxd::fixed_point Fxd>
const Fxd egamma_v< Fxd >
 Fixed-point constant for \( \gamma \).
 
template<fxd::fixed_point Fxd>
const Fxd inv_pi_v< Fxd >
 Fixed-point constant for \( 1 \over \pi \).
 
template<fxd::fixed_point Fxd>
const Fxd inv_sqrt3_v< Fxd >
 Fixed-point constant for \( 1 \over \sqrt 3 \).
 
template<fxd::fixed_point Fxd>
const Fxd inv_sqrtpi_v< Fxd >
 Fixed-point constant for \( 1 \over \sqrt \pi \).
 
template<fxd::fixed_point Fxd>
const Fxd ln10_v< Fxd >
 Fixed-point constant for \( \ln 10 \).
 
template<fxd::fixed_point Fxd>
const Fxd ln2_v< Fxd >
 Fixed-point constant for \( \ln 2 \).
 
template<fxd::fixed_point Fxd>
const Fxd log10e_v< Fxd >
 Fixed-point constant for \( \log _ {10} e \).
 
template<fxd::fixed_point Fxd>
const Fxd log2e_v< Fxd >
 Fixed-point constant for \( \log _ 2 e \).
 
template<fxd::fixed_point Fxd>
const Fxd phi_v< Fxd >
 Fixed-point constant for \( \phi \).
 
template<fxd::fixed_point Fxd>
const Fxd pi_v< Fxd >
 Fixed-point constant for \( \pi \).
 
template<fxd::fixed_point Fxd>
const Fxd sqrt2_v< Fxd >
 Fixed-point constant for \( \sqrt 2 \).
 
template<fxd::fixed_point Fxd>
const Fxd sqrt3_v< Fxd >
 Fixed-point constant for \( \sqrt 3 \).
 

Detailed Description

Specialization for mathematical constants.

Variable Documentation

◆ e_v< Fxd >

const Fxd e_v< Fxd >
inline

Fixed-point constant for \( e \).

Examples
numbers.cpp.

Definition at line 31 of file numbers.hpp.

◆ egamma_v< Fxd >

const Fxd egamma_v< Fxd >
inline

Fixed-point constant for \( \gamma \).

Examples
numbers.cpp.

Definition at line 34 of file numbers.hpp.

◆ inv_pi_v< Fxd >

const Fxd inv_pi_v< Fxd >
inline

Fixed-point constant for \( 1 \over \pi \).

Examples
numbers.cpp.

Definition at line 37 of file numbers.hpp.

◆ inv_sqrt3_v< Fxd >

const Fxd inv_sqrt3_v< Fxd >
inline

Fixed-point constant for \( 1 \over \sqrt 3 \).

Examples
numbers.cpp.

Definition at line 40 of file numbers.hpp.

◆ inv_sqrtpi_v< Fxd >

const Fxd inv_sqrtpi_v< Fxd >
inline

Fixed-point constant for \( 1 \over \sqrt \pi \).

Examples
numbers.cpp.

Definition at line 43 of file numbers.hpp.

◆ ln10_v< Fxd >

const Fxd ln10_v< Fxd >
inline

Fixed-point constant for \( \ln 10 \).

Examples
numbers.cpp.

Definition at line 46 of file numbers.hpp.

◆ ln2_v< Fxd >

const Fxd ln2_v< Fxd >
inline

Fixed-point constant for \( \ln 2 \).

Examples
numbers.cpp.

Definition at line 49 of file numbers.hpp.

◆ log10e_v< Fxd >

const Fxd log10e_v< Fxd >
inline

Fixed-point constant for \( \log _ {10} e \).

Examples
numbers.cpp.

Definition at line 52 of file numbers.hpp.

◆ log2e_v< Fxd >

const Fxd log2e_v< Fxd >
inline

Fixed-point constant for \( \log _ 2 e \).

Examples
numbers.cpp.

Definition at line 55 of file numbers.hpp.

◆ phi_v< Fxd >

const Fxd phi_v< Fxd >
inline

Fixed-point constant for \( \phi \).

Examples
numbers.cpp.

Definition at line 58 of file numbers.hpp.

◆ pi_v< Fxd >

const Fxd pi_v< Fxd >
inline

Fixed-point constant for \( \pi \).

Examples
numbers.cpp.

Definition at line 61 of file numbers.hpp.

◆ sqrt2_v< Fxd >

const Fxd sqrt2_v< Fxd >
inline

Fixed-point constant for \( \sqrt 2 \).

Examples
numbers.cpp.

Definition at line 64 of file numbers.hpp.

◆ sqrt3_v< Fxd >

const Fxd sqrt3_v< Fxd >
inline

Fixed-point constant for \( \sqrt 3 \).

Examples
numbers.cpp.

Definition at line 67 of file numbers.hpp.