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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned ndigits, unsigned es, typename bt>
int sw::universal::fpclassify (const hfloat< ndigits, es, bt > &a)
template<unsigned ndigits, unsigned es, typename bt>
bool sw::universal::isfinite (const hfloat< ndigits, es, bt > &)
template<unsigned ndigits, unsigned es, typename bt>
bool sw::universal::isinf (const hfloat< ndigits, es, bt > &)
template<unsigned ndigits, unsigned es, typename bt>
bool sw::universal::isnan (const hfloat< ndigits, es, bt > &)
template<unsigned ndigits, unsigned es, typename bt>
bool sw::universal::iszero (const hfloat< ndigits, es, bt > &a)