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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
blocktriple< nbits - 1u - es, BlockTripleOperator::MUL, bt > sw::universal::quire_mul (const cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > &lhs, const cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > &rhs)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating, unsigned capacity, typename LimbType>
cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > sw::universal::quire_resolve (const quire< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating >, capacity, LimbType > &q)
template<typename Qy, typename Vector>
void sw::universal::fdp_qc (Qy &sum_of_products, std::size_t n, const Vector &x, std::size_t incx, const Vector &y, std::size_t incy, std::enable_if_t< is_cfloat< typename Vector::value_type >, int >=0)
 Fused dot product with quire continuation.
template<typename Vector>
enable_if_cfloat< typename Vector::value_type > sw::universal::fdp_stride (std::size_t n, const Vector &x, std::size_t incx, const Vector &y, std::size_t incy)
 Resolved fused dot product with stride.
template<typename Vector>
enable_if_cfloat< typename Vector::value_type > sw::universal::fdp (const Vector &x, const Vector &y)
 Resolved fused dot product with unit stride.