\frac{x + y}{x - y}\sqrt[3]{\frac{y + x}{x - y} \cdot \left(\frac{y + x}{x - y} \cdot \frac{y + x}{x - y}\right)}double f(double x, double y) {
double r28422805 = x;
double r28422806 = y;
double r28422807 = r28422805 + r28422806;
double r28422808 = r28422805 - r28422806;
double r28422809 = r28422807 / r28422808;
return r28422809;
}
double f(double x, double y) {
double r28422810 = y;
double r28422811 = x;
double r28422812 = r28422810 + r28422811;
double r28422813 = r28422811 - r28422810;
double r28422814 = r28422812 / r28422813;
double r28422815 = r28422814 * r28422814;
double r28422816 = r28422814 * r28422815;
double r28422817 = cbrt(r28422816);
return r28422817;
}




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-cube0.0
Final simplification0.0
herbie shell --seed 2019158
(FPCore (x y)
:name "Linear.Projection:perspective from linear-1.19.1.3, A"
:herbie-target
(/ 1 (- (/ x (+ x y)) (/ y (+ x y))))
(/ (+ x y) (- x y)))