Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
ereal_constants.hpp File Reference
#include <string>
#include <cmath>
#include <cstddef>
#include <limits>

Classes

struct  sw::universal::ereal_detail::scaled_limb

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::ereal_detail

Functions

template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::parse_constant (const char *digits)
template<unsigned maxlimbs, typename FpType, std::size_t N>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::from_limbs (const scaled_limb(&components)[N])
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_pi ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_ln2 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_ln10 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_pi_2 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_pi_4 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_3pi_4 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_2pi ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_pi_3 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_sqrt2 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_sqrt3 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_sqrt5 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_e ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_phi ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_lge ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_lg10 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_log2 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_loge ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_1_phi ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_1_e ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_1_pi ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_2_pi ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_1_sqrt2 ()
template<unsigned maxlimbs = 19, typename FpType = double>
ereal< maxlimbs, FpType > sw::universal::ereal_2_sqrtpi ()

Variables

static constexpr scaled_limb sw::universal::ereal_detail::ereal_pi_limbs []
static constexpr scaled_limb sw::universal::ereal_detail::ereal_ln2_limbs []
static constexpr scaled_limb sw::universal::ereal_detail::ereal_ln10_limbs []