\frac{x \cdot y}{y + 1.0}\frac{y}{y + 1.0} \cdot xdouble f(double x, double y) {
double r36431537 = x;
double r36431538 = y;
double r36431539 = r36431537 * r36431538;
double r36431540 = 1.0;
double r36431541 = r36431538 + r36431540;
double r36431542 = r36431539 / r36431541;
return r36431542;
}
double f(double x, double y) {
double r36431543 = y;
double r36431544 = 1.0;
double r36431545 = r36431543 + r36431544;
double r36431546 = r36431543 / r36431545;
double r36431547 = x;
double r36431548 = r36431546 * r36431547;
return r36431548;
}




Bits error versus x




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