\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 r41113 = x;
double r41114 = y;
double r41115 = r41113 + r41114;
double r41116 = 1.0;
double r41117 = z;
double r41118 = r41116 - r41117;
double r41119 = r41115 * r41118;
return r41119;
}
double f(double x, double y, double z) {
double r41120 = x;
double r41121 = z;
double r41122 = -r41121;
double r41123 = 1.0;
double r41124 = y;
double r41125 = r41123 * r41124;
double r41126 = fma(r41123, r41120, r41125);
double r41127 = fma(r41120, r41122, r41126);
double r41128 = r41122 * r41124;
double r41129 = r41127 + r41128;
return r41129;
}



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