Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
constants.hpp File Reference

Classes

struct  sw::universal::faithful_detail::split_constant< Real, N >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::faithful_detail
namespace  sw::universal::faithful_detail::constants

Functions

template<typename Real, int N>
split_constant< Real, N > sw::universal::faithful_detail::split (const double(&c)[4])
template<typename Real>
faithful< Real > sw::universal::faithful_detail::pair (const double(&c)[4])

Variables

constexpr double sw::universal::faithful_detail::constants::ln2 [4] = { 0x1.62e42fefa39efp-1, 0x1.abc9e3b39803fp-56, 0x1.7b57a079a1934p-111, -0x1.ace93a4ebe5d1p-165 }
constexpr double sw::universal::faithful_detail::constants::ln10 [4] = { 0x1.26bb1bbb55516p+1, -0x1.f48ad494ea3e9p-53, -0x1.9ebae3ae0260cp-107, -0x1.2d10378be1cf1p-161 }