|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<unsigned nlimbs> | |
| int | sw::universal::sign (const efloat< nlimbs > &v) |
| template<unsigned nlimbs> | |
| int64_t | sw::universal::scale (const efloat< nlimbs > &v) |
| template<unsigned nlimbs, typename Real, typename = typename std::enable_if< std::is_floating_point<Real>::value, Real >::type> | |
| Real | sw::universal::significant (const efloat< nlimbs > &v) |