|
inlineconstexpr |
Computes the fused add multiply of its three parameters.
The call fam(x, y, z)
is similar to x+y*z
as if calculated to infinite precision and rounded once to fit the result as much as supported by the hardware.
Defined in Header
Parameters
x
, y
, z
: real or complex arguments.Return value
The value of x+y*z
as if calculated to infinite precision and rounded once is returned, but only if the hardware is in capacity to do it at reasonable cost.
fam
implementation provides those properties for all integral real value and when possible for floating real value.Masked Call
The call eve::fam[mask](x, ...)
provides a masked version of fam
which is equivalent to if_else(mask, fam(x, ...), x)
Example
pedantic(fam)(x,y,z)
ensures the one rounding property. This can be very expensive if the system has no hardware capability.numeric(fam)(x,y,z)
ensures the full compliance to fam properties. This can be very expensive if the system has no hardware capability.