\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 r35750 = x;
double r35751 = y;
double r35752 = r35750 + r35751;
double r35753 = 1.0;
double r35754 = z;
double r35755 = r35753 - r35754;
double r35756 = r35752 * r35755;
return r35756;
}
double f(double x, double y, double z) {
double r35757 = x;
double r35758 = z;
double r35759 = -r35758;
double r35760 = 1.0;
double r35761 = y;
double r35762 = r35760 * r35761;
double r35763 = fma(r35760, r35757, r35762);
double r35764 = fma(r35757, r35759, r35763);
double r35765 = r35759 * r35761;
double r35766 = r35764 + r35765;
return r35766;
}



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 2020027 +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)))