\frac{x}{y \cdot 3}\frac{x}{3 \cdot y}double f(double x, double y) {
double r39127772 = x;
double r39127773 = y;
double r39127774 = 3.0;
double r39127775 = r39127773 * r39127774;
double r39127776 = r39127772 / r39127775;
return r39127776;
}
double f(double x, double y) {
double r39127777 = x;
double r39127778 = 3.0;
double r39127779 = y;
double r39127780 = r39127778 * r39127779;
double r39127781 = r39127777 / r39127780;
return r39127781;
}




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