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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::bposit_math

Functions

template<typename B>
B sw::universal::bposit_math::remainder_exact (const B &x, const B &y, bool nearest)
template<unsigned nbits, unsigned rs, unsigned es, typename bt>
bposit< nbits, rs, es, bt > sw::universal::fmod (const bposit< nbits, rs, es, bt > &x, const bposit< nbits, rs, es, bt > &y)
template<unsigned nbits, unsigned rs, unsigned es, typename bt>
bposit< nbits, rs, es, bt > sw::universal::remainder (const bposit< nbits, rs, es, bt > &x, const bposit< nbits, rs, es, bt > &y)
template<unsigned nbits, unsigned rs, unsigned es, typename bt>
bposit< nbits, rs, es, bt > sw::universal::frac (const bposit< nbits, rs, es, bt > &x)