Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
sw::universal::hfloat_detail Namespace Reference

Classes

struct  wide

Functions

template<unsigned A, unsigned B>
constexpr wide< A+B > multiply (const wide< A > &a, const wide< B > &b) noexcept
template<unsigned N, unsigned D>
constexpr wide< N > divide (const wide< N > &u, const wide< D > &v) noexcept

Function Documentation

◆ divide()

template<unsigned N, unsigned D>
wide< N > sw::universal::hfloat_detail::divide ( const wide< N > & u,
const wide< D > & v )
constexprnoexcept

◆ multiply()

template<unsigned A, unsigned B>
wide< A+B > sw::universal::hfloat_detail::multiply ( const wide< A > & a,
const wide< B > & b )
constexprnoexcept