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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename Real>
void sw::universal::twoProd (const Real &a, const Real &b, Real &product, Real &error)
 twoProd generates the product and the remainder (error) of a floating-point multiplication operator