Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
attributes.hpp File Reference
#include <string>
#include <sstream>
#include <iomanip>
#include <universal/number/hfloat/core.hpp>
#include <universal/number/hfloat/manipulators.hpp>
#include <universal/number/hfloat/iostream.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename HfloatConfiguration>
std::string sw::universal::hfloat_range ()
template<unsigned ndigits, unsigned es, typename bt>
std::string sw::universal::dynamic_range (const hfloat< ndigits, es, bt > &a)
template<unsigned ndigits, unsigned es, typename bt>
int sw::universal::minpos_scale (const hfloat< ndigits, es, bt > &b)
template<unsigned ndigits, unsigned es, typename bt>
int sw::universal::maxpos_scale (const hfloat< ndigits, es, bt > &b)
template<unsigned ndigits, unsigned es, typename bt>
int sw::universal::max_negative_scale (const hfloat< ndigits, es, bt > &b)
template<unsigned ndigits, unsigned es, typename bt>
int sw::universal::scale (const hfloat< ndigits, es, bt > &a)