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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, unsigned rs, unsigned es, typename bt>
int sw::universal::fpclassify (const bposit< nbits, rs, es, bt > &x)
template<unsigned nbits, unsigned rs, unsigned es, typename bt>
bool sw::universal::isfinite (const bposit< nbits, rs, es, bt > &x)
template<unsigned nbits, unsigned rs, unsigned es, typename bt>
bool sw::universal::isinf (const bposit< nbits, rs, es, bt > &)
template<unsigned nbits, unsigned rs, unsigned es, typename bt>
bool sw::universal::isnan (const bposit< nbits, rs, es, bt > &x)
template<unsigned nbits, unsigned rs, unsigned es, typename bt>
bool sw::universal::isnormal (const bposit< nbits, rs, es, bt > &x)
template<unsigned nbits, unsigned rs, unsigned es, typename bt>
bool sw::universal::signbit (const bposit< nbits, rs, es, bt > &x)