\frac{x \cdot y}{y + 1}\frac{y}{y + 1} \cdot xdouble f(double x, double y) {
double r32976742 = x;
double r32976743 = y;
double r32976744 = r32976742 * r32976743;
double r32976745 = 1.0;
double r32976746 = r32976743 + r32976745;
double r32976747 = r32976744 / r32976746;
return r32976747;
}
double f(double x, double y) {
double r32976748 = y;
double r32976749 = 1.0;
double r32976750 = r32976748 + r32976749;
double r32976751 = r32976748 / r32976750;
double r32976752 = x;
double r32976753 = r32976751 * r32976752;
return r32976753;
}




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