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>
#include <limits>
#include <type_traits>
#include <universal/number/faithful/core.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename FloatingPointType>
bool sw::universal::isnan (const faithful< FloatingPointType > &a)
template<typename FloatingPointType>
bool sw::universal::isinf (const faithful< FloatingPointType > &a)
template<typename FloatingPointType>
bool sw::universal::isfinite (const faithful< FloatingPointType > &a)
template<typename FloatingPointType>
int sw::universal::fpclassify (const faithful< FloatingPointType > &a)
template<typename FloatingPointType>
bool sw::universal::isnormal (const faithful< FloatingPointType > &a)
template<typename FloatingPointType>
bool sw::universal::isdenorm (const faithful< FloatingPointType > &a)
template<typename FloatingPointType>
bool sw::universal::iszero (const faithful< FloatingPointType > &a)
template<typename FloatingPointType>
bool sw::universal::signbit (const faithful< FloatingPointType > &a)
template<typename FloatingPointType>
faithful< FloatingPointType > sw::universal::copysign (const faithful< FloatingPointType > &a, const faithful< FloatingPointType > &b)
template<typename FloatingPointType>
faithful< FloatingPointType > sw::universal::fabs (const faithful< FloatingPointType > &a)