|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <algorithm>#include <bit>#include <cstddef>#include <cstdint>#include <type_traits>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
| namespace | sw::universal::efloat_storage |
Macros | |
| #define | EFLOAT_SCALAR_LOOP |
| #define | EFLOAT_UNROLLED_LOOP |
Typedefs | |
| using | sw::universal::efloat_storage::limb_t = std::uint64_t |
Functions | |
| cache_reaper & | sw::universal::efloat_storage::reaper () noexcept |
| constexpr void | sw::universal::efloat_storage::copy_limbs (limb_t *d, const limb_t *s, std::size_t n) noexcept |
| constexpr void | sw::universal::efloat_storage::zero_limbs (limb_t *d, std::size_t n) noexcept |
| constexpr std::uint32_t | sw::universal::efloat_storage::block_capacity (std::size_t n) noexcept |
| limb_t * | sw::universal::efloat_storage::take_block (std::uint32_t capacity) |
| void | sw::universal::efloat_storage::give_block (limb_t *b, std::uint32_t capacity) noexcept |
Variables | |
| block_cache | sw::universal::efloat_storage::cache {} |
| #define EFLOAT_SCALAR_LOOP |
| #define EFLOAT_UNROLLED_LOOP |