\frac{x \cdot y}{y + 1}\frac{y}{y + 1} \cdot xdouble f(double x, double y) {
double r31503246 = x;
double r31503247 = y;
double r31503248 = r31503246 * r31503247;
double r31503249 = 1.0;
double r31503250 = r31503247 + r31503249;
double r31503251 = r31503248 / r31503250;
return r31503251;
}
double f(double x, double y) {
double r31503252 = y;
double r31503253 = 1.0;
double r31503254 = r31503252 + r31503253;
double r31503255 = r31503252 / r31503254;
double r31503256 = x;
double r31503257 = r31503255 * r31503256;
return r31503257;
}




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