XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Fma()

Function Fma ( X As  Double,
Y As  Double,
Z As  Double 
)

Fused multiply-add

Purpose
Computes (x * y) + z, rounded as one ternary operation; it computes the value (as if) to infinite precision and round once to the result format.
Returns
Double
(x * y) + z
Parameters
[in]XArgument x.
[in]YArgument y.
[in]ZArgument z.