Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
efloat_limbs.hpp File Reference
#include <algorithm>
#include <bit>
#include <cstddef>
#include <cstdint>
#include <type_traits>

Classes

struct  sw::universal::efloat_storage::block_cache
struct  sw::universal::efloat_storage::cache_reaper
class  sw::universal::efloat_storage::scratch_limbs< N >
class  sw::universal::efloat_limbs< N >

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 {}

Macro Definition Documentation

◆ EFLOAT_SCALAR_LOOP

#define EFLOAT_SCALAR_LOOP

◆ EFLOAT_UNROLLED_LOOP

#define EFLOAT_UNROLLED_LOOP