\frac{x \cdot y}{y + 1.0}\frac{y}{y + 1.0} \cdot xdouble f(double x, double y) {
double r32383617 = x;
double r32383618 = y;
double r32383619 = r32383617 * r32383618;
double r32383620 = 1.0;
double r32383621 = r32383618 + r32383620;
double r32383622 = r32383619 / r32383621;
return r32383622;
}
double f(double x, double y) {
double r32383623 = y;
double r32383624 = 1.0;
double r32383625 = r32383623 + r32383624;
double r32383626 = r32383623 / r32383625;
double r32383627 = x;
double r32383628 = r32383626 * r32383627;
return r32383628;
}




Bits error versus x




Bits error versus y
Results
| Original | 8.4 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 8.4
rmApplied *-un-lft-identity8.4
Applied times-frac0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019165
(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)))