exponential¶
exp function (generic::exp)¶
template <numeric T1> flt_type<T1> exp(const T1 &x)
Returns e raised to the given power x.
exp2 function (generic::exp2)¶
template <numeric T1> flt_type<T1> exp2(const T1 &x)
Returns 2 raised to the given power x.
exp10 function (generic::exp10)¶
template <numeric T1> flt_type<T1> exp10(const T1 &x)
Returns 10 raised to the given power x.
log function (generic::log)¶
template <numeric T1> flt_type<T1> log(const T1 &x)
Returns the natural logarithm of the x.
log2 function (generic::log2)¶
template <numeric T1> flt_type<T1> log2(const T1 &x)
Returns the binary (base-2) logarithm of the x.
log10 function (generic::log10)¶
template <numeric T1> flt_type<T1> log10(const T1 &x)
Returns the common (base-10) logarithm of the x.
logb function (generic::logb)¶
template <numeric T1> flt_type<T1> logb(const T1 &x)
Returns the rounded binary (base-2) logarithm of the x.
logn function (generic::logn)¶
template <numeric T1, numeric T2>
flt_type<std::common_type_t<T1, T2>> logn(const T1 &x,
const T2 &y)
Returns the logarithm of the x with base y.
logm function (generic::logm)¶
template <numeric T1, numeric T2>
flt_type<std::common_type_t<T1, T2>> logm(const T1 &x,
const T2 &y)
Returns log(x) * y.
exp_fmadd function (generic::exp_fmadd)¶
template <numeric T1, numeric T2, numeric T3>
flt_type<std::common_type_t<T1, T2, T3>>
exp_fmadd(const T1 &x, const T2 &y, const T3 &z)
Returns exp(x * m + a).
log_fmadd function (generic::log_fmadd)¶
template <numeric T1, numeric T2, numeric T3>
flt_type<std::common_type_t<T1, T2, T3>>
log_fmadd(const T1 &x, const T2 &y, const T3 &z)
Returns log(x) * m + a.
pow function (generic::pow)¶
template <numeric T1, numeric T2>
flt_type<std::common_type_t<T1, T2>> pow(const T1 &x,
const T2 &y)
Returns the x raised to the given power y.
root function (generic::root)¶
template <numeric T1, numeric T2>
flt_type<std::common_type_t<T1, T2>> root(const T1 &x,
const T2 &y)
Returns the real nth root of the x.
cbrt function (generic::cbrt)¶
template <numeric T1> flt_type<T1> cbrt(const T1 &x)
Returns the cube root of the x.
Auto-generated from sources, Revision , https://github.com/kfrlib/kfr/blob//include/kfr/