libfxd 0.2.dev
A fixed-point library for C++.
|
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 \). | |
Specialization for mathematical constants.
|
inline |
|
inline |
Fixed-point constant for \( \gamma \).
Definition at line 34 of file numbers.hpp.
|
inline |
Fixed-point constant for \( 1 \over \pi \).
Definition at line 37 of file numbers.hpp.
|
inline |
Fixed-point constant for \( 1 \over \sqrt 3 \).
Definition at line 40 of file numbers.hpp.
|
inline |
Fixed-point constant for \( 1 \over \sqrt \pi \).
Definition at line 43 of file numbers.hpp.
|
inline |
Fixed-point constant for \( \ln 10 \).
Definition at line 46 of file numbers.hpp.
|
inline |
Fixed-point constant for \( \ln 2 \).
Definition at line 49 of file numbers.hpp.
|
inline |
Fixed-point constant for \( \log _ {10} e \).
Definition at line 52 of file numbers.hpp.
|
inline |
Fixed-point constant for \( \log _ 2 e \).
Definition at line 55 of file numbers.hpp.
|
inline |
Fixed-point constant for \( \phi \).
Definition at line 58 of file numbers.hpp.
|
inline |
|
inline |
Fixed-point constant for \( \sqrt 2 \).
Definition at line 64 of file numbers.hpp.
|
inline |
Fixed-point constant for \( \sqrt 3 \).
Definition at line 67 of file numbers.hpp.