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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::faithful_detail

Functions

template<typename Real>
faithful< Real > sw::universal::faithful_detail::scale2 (const faithful< Real > &x, int k)
template<typename Real>
faithful< Real > sw::universal::faithful_detail::reduce_ln2 (const faithful< Real > &x, Real m)
template<typename Real>
faithful< Real > sw::universal::faithful_detail::reduce_scaled_ln2 (const faithful< Real > &x, const split_constant< Real, 4 > &c, Real m)
template<typename Real>
faithful< Real > sw::universal::faithful_detail::expm1_kernel (const faithful< Real > &r)
template<typename Real>
faithful< Real > sw::universal::faithful_detail::exp_reduced (const faithful< Real > &reduced, Real m)
template<typename Real>
faithful< Real > sw::universal::faithful_detail::exp_finite (const faithful< Real > &x)
template<typename FloatingPointType>
requires std::is_floating_point_v<FloatingPointType>
faithful< FloatingPointType > sw::universal::exp (const faithful< FloatingPointType > &x)
template<typename FloatingPointType>
requires std::is_floating_point_v<FloatingPointType>
faithful< FloatingPointType > sw::universal::exp2 (const faithful< FloatingPointType > &x)
template<typename FloatingPointType>
requires std::is_floating_point_v<FloatingPointType>
faithful< FloatingPointType > sw::universal::exp10 (const faithful< FloatingPointType > &x)
template<typename FloatingPointType>
requires std::is_floating_point_v<FloatingPointType>
faithful< FloatingPointType > sw::universal::expm1 (const faithful< FloatingPointType > &x)