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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, unsigned es, typename bt>
posit< nbits, es, bt > sw::universal::abs (const posit< nbits, es, bt > &)
template<unsigned nbits, unsigned es, typename bt>
posit< nbits, es, bt > sw::universal::sqrt (const posit< nbits, es, bt > &a)
template<unsigned nbits, unsigned es, typename bt>
bool sw::universal::parse (const std::string &txt, posit< nbits, es, bt > &p)
template<unsigned nbits, unsigned es, typename bt, unsigned fbits, BlockTripleOperator op>
constexpr posit< nbits, es, bt > & sw::universal::convert (const blocktriple< fbits, op, bt > &, posit< nbits, es, bt > &)
template<unsigned nbits, typename bt>
constexpr int sw::universal::decode_regime (const blockbinary< nbits, bt > &)