\frac{x \cdot y}{y + 1}\frac{y}{y + 1} \cdot xdouble f(double x, double y) {
double r618147 = x;
double r618148 = y;
double r618149 = r618147 * r618148;
double r618150 = 1.0;
double r618151 = r618148 + r618150;
double r618152 = r618149 / r618151;
return r618152;
}
double f(double x, double y) {
double r618153 = y;
double r618154 = 1.0;
double r618155 = r618153 + r618154;
double r618156 = r618153 / r618155;
double r618157 = x;
double r618158 = r618156 * r618157;
return r618158;
}




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
Simplified0.0
Final simplification0.0
herbie shell --seed 2019194
(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)))