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

Namespaces

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

Functions

template<typename Real>
bool sw::universal::faithful_detail::is_integer (const faithful< Real > &y)
template<typename Real>
bool sw::universal::faithful_detail::is_odd_integer (const faithful< Real > &y)
template<typename Real>
faithful< Real > sw::universal::faithful_detail::ipow (const faithful< Real > &x, int n)
template<typename FloatingPointType>
requires std::is_floating_point_v<FloatingPointType>
faithful< FloatingPointType > sw::universal::pow (const faithful< FloatingPointType > &x, const faithful< FloatingPointType > &y)