\frac{x}{y \cdot 3}\frac{x}{y \cdot 3}double f(double x, double y) {
double r740250 = x;
double r740251 = y;
double r740252 = 3.0;
double r740253 = r740251 * r740252;
double r740254 = r740250 / r740253;
return r740254;
}
double f(double x, double y) {
double r740255 = x;
double r740256 = y;
double r740257 = 3.0;
double r740258 = r740256 * r740257;
double r740259 = r740255 / r740258;
return r740259;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.2
rmApplied associate-/r*0.2
rmApplied div-inv0.3
Applied associate-/l*0.3
Simplified0.2
Final simplification0.2
herbie shell --seed 2020060
(FPCore (x y)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, C"
:precision binary64
:herbie-target
(/ (/ x y) 3)
(/ x (* y 3)))