2 \cdot \left(x \cdot x - x \cdot y\right)
\left(2 \cdot x\right) \cdot \left(x - y\right)
double f(double x, double y) {
double r554582 = 2.0;
double r554583 = x;
double r554584 = r554583 * r554583;
double r554585 = y;
double r554586 = r554583 * r554585;
double r554587 = r554584 - r554586;
double r554588 = r554582 * r554587;
return r554588;
}
double f(double x, double y) {
double r554589 = 2.0;
double r554590 = x;
double r554591 = r554589 * r554590;
double r554592 = y;
double r554593 = r554590 - r554592;
double r554594 = r554591 * r554593;
return r554594;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied distribute-lft-out--0.0
Applied associate-*r*0.0
Final simplification0.0
herbie shell --seed 2020083
(FPCore (x y)
:name "Linear.Matrix:fromQuaternion from linear-1.19.1.3, A"
:precision binary64
:herbie-target
(* (* x 2) (- x y))
(* 2 (- (* x x) (* x y))))