Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
block_eft.hpp File Reference
#include <vector>
#include <cassert>
#include <cmath>
#include <cstdint>
#include <limits>
#include <concepts>
#include <utility>
#include <universal/number/elreal/block.hpp>
#include <universal/numerics/error_free_ops.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::detail
namespace  sw::universal::detail::fma_detect

Concepts

concept  sw::universal::detail::fma_detect::callable

Macros

#define UNIVERSAL_ELREAL_EFT_NOINLINE

Functions

template<typename T>
T sw::universal::detail::eft_splitter ()
template<typename T>
UNIVERSAL_ELREAL_EFT_NOINLINE void sw::universal::detail::two_sum_host (T a, T b, T &s, T &r)
template<>
void sw::universal::detail::two_sum_host< double > (double a, double b, double &s, double &r)
template<typename T>
UNIVERSAL_ELREAL_EFT_NOINLINE void sw::universal::detail::split_host (T a, T &hi, T &lo)
template<typename T>
UNIVERSAL_ELREAL_EFT_NOINLINE void sw::universal::detail::two_prod_host (T a, T b, T &p, T &r)
template<>
void sw::universal::detail::two_prod_host< double > (double a, double b, double &p, double &r)
template<typename T>
UNIVERSAL_ELREAL_EFT_NOINLINE void sw::universal::detail::two_div_host (T a, T b, T &q, T &r)
template<typename T>
UNIVERSAL_ELREAL_EFT_NOINLINE void sw::universal::detail::two_div_rem_host (T a, T b, T &q, T &rem)
template<typename FpType>
std::pair< block< FpType >, block< FpType > > sw::universal::block_two_sum (const block< FpType > &a, const block< FpType > &b)
template<typename FpType>
block< FpType > sw::universal::block_two_sum_rn (const block< FpType > &a, const block< FpType > &b)
template<typename FpType>
void sw::universal::keep_product_block (std::vector< block< FpType > > &pool, block< FpType > b)
template<typename FpType>
std::pair< block< FpType >, block< FpType > > sw::universal::block_two_mult (const block< FpType > &a, const block< FpType > &b)
template<typename FpType>
block< FpType > sw::universal::block_two_mult_rn (const block< FpType > &a, const block< FpType > &b)
template<typename FpType>
std::pair< block< FpType >, block< FpType > > sw::universal::block_two_div (const block< FpType > &a, const block< FpType > &b)
template<typename FpType>
block< FpType > sw::universal::block_two_div_rn (const block< FpType > &a, const block< FpType > &b)
template<typename FpType>
std::pair< block< FpType >, block< FpType > > sw::universal::block_two_div_rem (const block< FpType > &a, const block< FpType > &b)
template<unsigned nbits, unsigned es, typename bt>
areal< nbits, es, bt > sw::universal::detail::fma_detect::fma (const areal< nbits, es, bt > &, const areal< nbits, es, bt > &, const areal< nbits, es, bt > &)

Variables

template<typename T>
constexpr bool sw::universal::detail::eft_has_fma_v = fma_detect::callable<T>

Macro Definition Documentation

◆ UNIVERSAL_ELREAL_EFT_NOINLINE

#define UNIVERSAL_ELREAL_EFT_NOINLINE