\frac{x + y}{x - y}\sqrt[3]{{\left(\frac{x + y}{x - y}\right)}^{3}}double f(double x, double y) {
double r558281 = x;
double r558282 = y;
double r558283 = r558281 + r558282;
double r558284 = r558281 - r558282;
double r558285 = r558283 / r558284;
return r558285;
}
double f(double x, double y) {
double r558286 = x;
double r558287 = y;
double r558288 = r558286 + r558287;
double r558289 = r558286 - r558287;
double r558290 = r558288 / r558289;
double r558291 = 3.0;
double r558292 = pow(r558290, r558291);
double r558293 = cbrt(r558292);
return r558293;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied add-cbrt-cube42.1
Applied add-cbrt-cube43.0
Applied cbrt-undiv43.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020002
(FPCore (x y)
:name "Linear.Projection:perspective from linear-1.19.1.3, A"
:precision binary64
:herbie-target
(/ 1 (- (/ x (+ x y)) (/ y (+ x y))))
(/ (+ x y) (- x y)))