\frac{x \cdot y}{y + 1}x \cdot \frac{y}{y + 1}double f(double x, double y) {
double r119081718 = x;
double r119081719 = y;
double r119081720 = r119081718 * r119081719;
double r119081721 = 1.0;
double r119081722 = r119081719 + r119081721;
double r119081723 = r119081720 / r119081722;
return r119081723;
}
double f(double x, double y) {
double r119081724 = x;
double r119081725 = y;
double r119081726 = 1.0;
double r119081727 = r119081725 + r119081726;
double r119081728 = r119081725 / r119081727;
double r119081729 = r119081724 * r119081728;
return r119081729;
}




Bits error versus x




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