\left(x + y\right) \cdot \left(1 - z\right)
\mathsf{fma}\left(x, -z, \mathsf{fma}\left(1, x, 1 \cdot y\right)\right) + \left(-z\right) \cdot ydouble f(double x, double y, double z) {
double r28204 = x;
double r28205 = y;
double r28206 = r28204 + r28205;
double r28207 = 1.0;
double r28208 = z;
double r28209 = r28207 - r28208;
double r28210 = r28206 * r28209;
return r28210;
}
double f(double x, double y, double z) {
double r28211 = x;
double r28212 = z;
double r28213 = -r28212;
double r28214 = 1.0;
double r28215 = y;
double r28216 = r28214 * r28215;
double r28217 = fma(r28214, r28211, r28216);
double r28218 = fma(r28211, r28213, r28217);
double r28219 = r28213 * r28215;
double r28220 = r28218 + r28219;
return r28220;
}



Bits error versus x



Bits error versus y



Bits error versus z
Initial program 0.0
rmApplied sub-neg0.0
Applied distribute-lft-in0.0
Simplified0.0
Simplified0.0
rmApplied distribute-lft-in0.0
Applied associate-+r+0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020036 +o rules:numerics
(FPCore (x y z)
:name "Optimisation.CirclePacking:place from circle-packing-0.1.0.4, H"
:precision binary64
(* (+ x y) (- 1 z)))