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

Classes

struct  sw::universal::posit_fused::term< N >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::posit_fused

Typedefs

using sw::universal::posit_fused::limb_t = limb_kernels::limb_t

Functions

template<std::size_t N>
std::int64_t sw::universal::posit_fused::bitlength (const limb_t *a) noexcept
template<std::size_t N>
std::int64_t sw::universal::posit_fused::lowest_bit (const limb_t *a) noexcept
template<std::size_t N>
std::int64_t sw::universal::posit_fused::msb (const term< N > &t) noexcept
template<std::size_t N>
std::int64_t sw::universal::posit_fused::lsb (const term< N > &t) noexcept
template<std::size_t N>
term< N > sw::universal::posit_fused::zero_term () noexcept
template<std::size_t N, unsigned nbits, unsigned es, typename bt>
term< N > sw::universal::posit_fused::from_posit (const posit< nbits, es, bt > &p) noexcept
template<std::size_t N>
term< N > sw::universal::posit_fused::mul (const term< N > &x, const term< N > &y) noexcept
template<std::size_t N>
term< N > sw::universal::posit_fused::add (const term< N > &x, const term< N > &y, std::int64_t fbits, std::int64_t extra) noexcept
template<std::size_t N, unsigned nbits, unsigned es, typename bt>
posit< nbits, es, bt > sw::universal::posit_fused::round (const term< N > &t) noexcept
template<unsigned nbits, unsigned es, typename bt>
constexpr std::size_t sw::universal::posit_fused::capacity () noexcept
template<unsigned nbits, unsigned es, typename bt>
posit< nbits, es, bt > sw::universal::fma (const posit< nbits, es, bt > &a, const posit< nbits, es, bt > &b, const posit< nbits, es, bt > &c)
template<unsigned nbits, unsigned es, typename bt>
posit< nbits, es, bt > sw::universal::fam (const posit< nbits, es, bt > &a, const posit< nbits, es, bt > &b, const posit< nbits, es, bt > &c)
template<unsigned nbits, unsigned es, typename bt>
posit< nbits, es, bt > sw::universal::fmma (const posit< nbits, es, bt > &a, const posit< nbits, es, bt > &b, const posit< nbits, es, bt > &c, const posit< nbits, es, bt > &d, bool opIsAdd=true)