\frac{x \cdot y}{y + 1}\frac{y}{y + 1} \cdot xdouble f(double x, double y) {
double r20376748 = x;
double r20376749 = y;
double r20376750 = r20376748 * r20376749;
double r20376751 = 1.0;
double r20376752 = r20376749 + r20376751;
double r20376753 = r20376750 / r20376752;
return r20376753;
}
double f(double x, double y) {
double r20376754 = y;
double r20376755 = 1.0;
double r20376756 = r20376754 + r20376755;
double r20376757 = r20376754 / r20376756;
double r20376758 = x;
double r20376759 = r20376757 * r20376758;
return r20376759;
}




Bits error versus x




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