\frac{x}{y \cdot 3}\frac{x}{y \cdot 3}double f(double x, double y) {
double r833399 = x;
double r833400 = y;
double r833401 = 3.0;
double r833402 = r833400 * r833401;
double r833403 = r833399 / r833402;
return r833403;
}
double f(double x, double y) {
double r833404 = x;
double r833405 = y;
double r833406 = 3.0;
double r833407 = r833405 * r833406;
double r833408 = r833404 / r833407;
return r833408;
}




Bits error versus x




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