\frac{x \cdot y}{y + 1}\frac{y}{y + 1} \cdot xdouble f(double x, double y) {
double r29072659 = x;
double r29072660 = y;
double r29072661 = r29072659 * r29072660;
double r29072662 = 1.0;
double r29072663 = r29072660 + r29072662;
double r29072664 = r29072661 / r29072663;
return r29072664;
}
double f(double x, double y) {
double r29072665 = y;
double r29072666 = 1.0;
double r29072667 = r29072665 + r29072666;
double r29072668 = r29072665 / r29072667;
double r29072669 = x;
double r29072670 = r29072668 * r29072669;
return r29072670;
}




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 2019179 +o rules:numerics
(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)))