Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ fma() [8/17]

template<typename T1 , typename T2 , typename T3 , require_all_arithmetic_t< T1, T2, T3 > * = nullptr>
double stan::math::fma ( T1  x,
T2  y,
T3  z 
)
inline

Return the product of the first two arguments plus the third argument.

Warning: This does not delegate to the high-precision platform-specific fma() implementation.

Parameters
xFirst argument.
ySecond argument.
zThird argument.
Returns
The product of the first two arguments plus the third argument.

Definition at line 26 of file fma.hpp.