\frac{x + y}{x - y}\left(\sqrt[3]{\frac{x + y}{x - y}} \cdot \sqrt[3]{\frac{x + y}{x - y}}\right) \cdot \sqrt[3]{\frac{x + y}{x - y}}double f(double x, double y) {
double r390930 = x;
double r390931 = y;
double r390932 = r390930 + r390931;
double r390933 = r390930 - r390931;
double r390934 = r390932 / r390933;
return r390934;
}
double f(double x, double y) {
double r390935 = x;
double r390936 = y;
double r390937 = r390935 + r390936;
double r390938 = r390935 - r390936;
double r390939 = r390937 / r390938;
double r390940 = cbrt(r390939);
double r390941 = r390940 * r390940;
double r390942 = r390941 * r390940;
return r390942;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.1 |
Initial program 0.0
rmApplied add-cube-cbrt0.1
Final simplification0.1
herbie shell --seed 2019325 +o rules:numerics
(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)))