Skip to content

Function exp_fmadd

function exp_fmadd(const T1 &, const T2 &, const T3 &) math

template <numeric T1, numeric T2, numeric T3>
KFR_FUNCTION 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).

Computes the exponential of a fused multiply-add expression in a single call, which may be more efficient than evaluating the two operations separately.

Template parameters
T1 Type of the argument x.
T2 Type of the multiplier m.
T3 Type of the addend a.
Parameters
x Input value.
y Multiplier (m).
z Addend (a).
Returns
exp(x * m + a) as flt_type<std::common_type_t<T1, T2, T3>>.

Fully qualified name: kfr::exp_fmadd(const T1 &, const T2 &, const T3 &)

Declared at math/log_exp.hpp:175

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.