\frac{x \cdot y}{y + 1}\frac{y}{y + 1} \cdot xdouble f(double x, double y) {
double r34119158 = x;
double r34119159 = y;
double r34119160 = r34119158 * r34119159;
double r34119161 = 1.0;
double r34119162 = r34119159 + r34119161;
double r34119163 = r34119160 / r34119162;
return r34119163;
}
double f(double x, double y) {
double r34119164 = y;
double r34119165 = 1.0;
double r34119166 = r34119164 + r34119165;
double r34119167 = r34119164 / r34119166;
double r34119168 = x;
double r34119169 = r34119167 * r34119168;
return r34119169;
}




Bits error versus x




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