|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstdint>Classes | |
| struct | sw::universal::detail::scaled_log10 |
Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
| namespace | sw::universal::detail |
Functions | |
| constexpr scaled_log10 | sw::universal::detail::split_floor (std::int64_t k) noexcept |
| constexpr int | sw::universal::decimal_digits10 (int digits) noexcept |
| constexpr int | sw::universal::decimal_digits10_integer (int digits) noexcept |
| constexpr int | sw::universal::decimal_max_digits10 (int digits) noexcept |
| constexpr int | sw::universal::saturate_exponent_to_int (std::int64_t e) noexcept |
| constexpr int | sw::universal::decimal_min_exponent10 (std::int64_t min_exponent) noexcept |
| constexpr int | sw::universal::decimal_max_exponent10 (std::int64_t max_exponent) noexcept |
Variables | |
| constexpr std::int64_t | sw::universal::detail::log10_2_hi = 301029995LL |
| constexpr std::int64_t | sw::universal::detail::log10_2_lo = 663981195LL |
| constexpr std::int64_t | sw::universal::detail::split_scale = 1000000000LL |
| constexpr std::int64_t | sw::universal::detail::full_scale = 1000000000000000000LL |
| constexpr std::int64_t | sw::universal::detail::decimal_reach = 7200000000LL |