Skip to content

Function log_fmadd

function log_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>> log_fmadd(const T1& x, const T2& y, const T3& z)

Returns log(x) * m + a.

Computes a fused multiply-add on the logarithm of x.

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

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

Declared at math/log_exp.hpp:194

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