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 r592644 = 2.0;
double r592645 = x;
double r592646 = r592645 * r592645;
double r592647 = y;
double r592648 = r592645 * r592647;
double r592649 = r592646 - r592648;
double r592650 = r592644 * r592649;
return r592650;
}
double f(double x, double y) {
double r592651 = 2.0;
double r592652 = x;
double r592653 = r592651 * r592652;
double r592654 = y;
double r592655 = r592652 - r592654;
double r592656 = r592653 * r592655;
return r592656;
}




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