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

◆ Fma_sub()

Sub Fma_sub ( Ret As  Double,
X As  Double,
Y As  Double,
Z As  Double 
)

Fused multiply-add (Subroutine version)

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.
Parameters
[out]Ret(x * y) + z
[in]XArgument x.
[in]YArgument y.
[in]ZArgument z.