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

Macros

#define UNIVERSAL_MATH_INTEGER_POWER_DEFINED

Functions

template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::pow (const takum< nbits, rbits, bt > &x, const takum< nbits, rbits, bt > &y)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::pow (const takum< nbits, rbits, bt > &x, int y)
template<unsigned nbits, unsigned rbits, typename bt>
takum< nbits, rbits, bt > sw::universal::pow (const takum< nbits, rbits, bt > &x, double y)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::pow (const takum_log< nbits, rbits, bt > &x, int n)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::pow (const takum_log< nbits, rbits, bt > &x, const takum_log< nbits, rbits, bt > &y)
template<unsigned nbits, unsigned rbits, typename bt>
takum_log< nbits, rbits, bt > sw::universal::pow (const takum_log< nbits, rbits, bt > &x, double y)
template<typename Scalar>
Scalar sw::universal::integer_power (Scalar base, int exponent)

Macro Definition Documentation

◆ UNIVERSAL_MATH_INTEGER_POWER_DEFINED

#define UNIVERSAL_MATH_INTEGER_POWER_DEFINED