\frac{x \cdot y}{y + 1.0}\frac{y}{y + 1.0} \cdot xdouble f(double x, double y) {
double r37382728 = x;
double r37382729 = y;
double r37382730 = r37382728 * r37382729;
double r37382731 = 1.0;
double r37382732 = r37382729 + r37382731;
double r37382733 = r37382730 / r37382732;
return r37382733;
}
double f(double x, double y) {
double r37382734 = y;
double r37382735 = 1.0;
double r37382736 = r37382734 + r37382735;
double r37382737 = r37382734 / r37382736;
double r37382738 = x;
double r37382739 = r37382737 * r37382738;
return r37382739;
}




Bits error versus x




Bits error versus y
Results
| Original | 7.1 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 7.1
rmApplied *-un-lft-identity7.1
Applied times-frac0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019164
(FPCore (x y)
:name "Diagrams.Trail:splitAtParam from diagrams-lib-1.3.0.3, B"
:herbie-target
(if (< y -3693.8482788297247) (- (/ x (* y y)) (- (/ x y) x)) (if (< y 6799310503.41891) (/ (* x y) (+ y 1.0)) (- (/ x (* y y)) (- (/ x y) x))))
(/ (* x y) (+ y 1.0)))