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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::limb

Functions

constexpr unsigned sw::universal::limb::leading_zeros (std::uint32_t x) noexcept
constexpr bool sw::universal::limb::divide (const std::uint32_t *u, std::size_t m, const std::uint32_t *v, std::size_t n, std::uint32_t *q, std::uint32_t *r, std::uint32_t *un, std::uint32_t *vn) noexcept
constexpr bool sw::universal::limb::divide (const std::uint32_t *u, std::size_t m, const std::uint32_t *v, std::size_t n, std::uint32_t *q, std::uint32_t *un, std::uint32_t *vn) noexcept
template<typename BlockType, typename Get>
constexpr void sw::universal::limb::gather (Get &&block, unsigned nrBlocks, std::uint32_t *limbs, unsigned nrLimbs) noexcept
template<typename BlockType, typename Set>
constexpr void sw::universal::limb::scatter (const std::uint32_t *limbs, unsigned nrLimbs, Set &&set, unsigned nrBlocks) noexcept