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>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename CfloatConfiguration>
std::string sw::universal::cfloat_range ()
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
std::string sw::universal::dynamic_range (const cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > &a)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
int sw::universal::minpos_scale (const cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > &b)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
int sw::universal::maxpos_scale (const cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > &b)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
int sw::universal::max_negative_scale (const cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > &b)