\frac{x}{y \cdot 3}\frac{x}{3 \cdot y}double f(double x, double y) {
double r39276448 = x;
double r39276449 = y;
double r39276450 = 3.0;
double r39276451 = r39276449 * r39276450;
double r39276452 = r39276448 / r39276451;
return r39276452;
}
double f(double x, double y) {
double r39276453 = x;
double r39276454 = 3.0;
double r39276455 = y;
double r39276456 = r39276454 * r39276455;
double r39276457 = r39276453 / r39276456;
return r39276457;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.3 |
|---|---|
| Target | 0.3 |
| Herbie | 0.3 |
Initial program 0.3
rmApplied *-un-lft-identity0.3
Applied times-frac0.3
rmApplied frac-times0.3
Simplified0.3
Final simplification0.3
herbie shell --seed 2019171
(FPCore (x y)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, C"
:herbie-target
(/ (/ x y) 3.0)
(/ x (* y 3.0)))