\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 r509021 = x;
double r509022 = y;
double r509023 = r509021 + r509022;
double r509024 = r509021 - r509022;
double r509025 = r509023 / r509024;
return r509025;
}
double f(double x, double y) {
double r509026 = x;
double r509027 = y;
double r509028 = r509026 + r509027;
double r509029 = r509026 - r509027;
double r509030 = r509028 / r509029;
double r509031 = cbrt(r509030);
double r509032 = r509031 * r509031;
double r509033 = r509032 * r509031;
return r509033;
}




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 2020001 +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)))