\frac{x}{y \cdot 3}\frac{x}{y \cdot 3}double f(double x, double y) {
double r813212 = x;
double r813213 = y;
double r813214 = 3.0;
double r813215 = r813213 * r813214;
double r813216 = r813212 / r813215;
return r813216;
}
double f(double x, double y) {
double r813217 = x;
double r813218 = y;
double r813219 = 3.0;
double r813220 = r813218 * r813219;
double r813221 = r813217 / r813220;
return r813221;
}




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