|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <algorithm>#include <cmath>#include <cstdint>#include <limits>#include <universal/number/einteger/core.hpp>Classes | |
| struct | sw::universal::ereal_detail::inverse_two_pi_table< maxlimbs, FpType > |
Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
| namespace | sw::universal::ereal_detail |
Typedefs | |
| using | sw::universal::ereal_detail::reduction_int = einteger<std::uint32_t> |
Functions | |
| reduction_int | sw::universal::ereal_detail::atan_inverse_fixed (long long k, int W) |
| reduction_int | sw::universal::ereal_detail::inverse_two_pi_bits (int nbits) |
| template<typename FpType> | |
| void | sw::universal::ereal_detail::exact_dyadic (FpType v, reduction_int &S, int &e) |
| template<unsigned maxlimbs, typename FpType> | |
| ereal< maxlimbs, FpType > | sw::universal::ereal_detail::einteger_to_ereal (const reduction_int &n, int scale, int keep) |
| template<unsigned maxlimbs, typename FpType> | |
| ereal< maxlimbs, FpType > | sw::universal::ereal_detail::payne_hanek_two_pi (const ereal< maxlimbs, FpType > &a, const ereal< maxlimbs, FpType > &two_pi) |
| a - 2 pi n in [-pi, pi), n the nearest integer to a / (2 pi), for a finite a | |