|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstdint>#include <limits>Classes | |
| class | std::numeric_limits< sw::universal::takum< nbits, rbits, bt > > |
| class | std::numeric_limits< sw::universal::takum_log< nbits, rbits, bt > > |
Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
| namespace | std |
| STL namespace. | |
Functions | |
| constexpr int | sw::universal::takum_exponent_cast (std::int64_t c) noexcept |
| constexpr std::int64_t | sw::universal::takum_exponent_floor (double x) noexcept |
| template<typename Decoded> | |
| constexpr std::int64_t | sw::universal::takum_log_exponent_of (const Decoded &d) noexcept |
| template<typename Codec> | |
| constexpr unsigned | sw::universal::takum_ulp_bits_at_one () noexcept |
Variables | |
| constexpr double | sw::universal::takum_log2_of_sqrt_e = 0.7213475204444817 |