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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::ereal_detail

Functions

template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::signed_zero (bool negative)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::signed_inf (bool negative)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::quiet_nan ()
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::zero_with_sign_of (const ereal< maxlimbs, FpType > &r, const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::square_safe_limit ()
template<unsigned maxlimbs, typename FpType>
bool sw::universal::ereal_detail::is_integer (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
bool sw::universal::ereal_detail::is_odd_integer (const ereal< maxlimbs, FpType > &x)