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 <cstddef>
#include <universal/utility/exceptions.hpp>
#include <type_traits>
#include <vector>
#include <cmath>
#include <stdexcept>
#include <universal/number/lns/lns_traits.hpp>
#include <universal/number/quire/quire.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, unsigned rbits, typename bt, auto... xtra>
blocktriple< 2 *rbits, BlockTripleOperator::REP, bt > sw::universal::quire_mul (const lns< nbits, rbits, bt, xtra... > &lhs, const lns< nbits, rbits, bt, xtra... > &rhs)
template<unsigned nbits, unsigned rbits, typename bt, auto... xtra, unsigned capacity, typename LimbType>
lns< nbits, rbits, bt, xtra... > sw::universal::quire_resolve (const quire< lns< nbits, rbits, bt, xtra... >, capacity, LimbType > &q)
template<typename Scalar, unsigned capacity, typename LimbType, typename Vector>
void sw::universal::fdp_qc (quire< Scalar, capacity, LimbType > &sum_of_products, size_t n, const Vector &x, size_t incx, const Vector &y, size_t incy, std::enable_if_t< is_lns< Scalar > &&std::is_same_v< typename Vector::value_type, Scalar >, int >=0)
 Fused dot product with quire continuation.
template<typename Vector>
enable_if_lns< typename Vector::value_type > sw::universal::fdp_stride (size_t n, const Vector &x, size_t incx, const Vector &y, size_t incy)
 Resolved fused dot product with stride.
template<typename Vector>
enable_if_lns< typename Vector::value_type > sw::universal::fdp (const Vector &x, const Vector &y)
 Resolved fused dot product with unit stride.