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 r441855 = 2.0;
double r441856 = x;
double r441857 = r441856 * r441856;
double r441858 = y;
double r441859 = r441856 * r441858;
double r441860 = r441857 - r441859;
double r441861 = r441855 * r441860;
return r441861;
}
double f(double x, double y) {
double r441862 = 2.0;
double r441863 = x;
double r441864 = r441862 * r441863;
double r441865 = y;
double r441866 = r441863 - r441865;
double r441867 = r441864 * r441866;
return r441867;
}




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