\frac{x - y}{x + y}\sqrt[3]{{\left(\frac{x}{x + y}\right)}^{3}} - \frac{y}{x + y}double f(double x, double y) {
double r775843 = x;
double r775844 = y;
double r775845 = r775843 - r775844;
double r775846 = r775843 + r775844;
double r775847 = r775845 / r775846;
return r775847;
}
double f(double x, double y) {
double r775848 = x;
double r775849 = y;
double r775850 = r775848 + r775849;
double r775851 = r775848 / r775850;
double r775852 = 3.0;
double r775853 = pow(r775851, r775852);
double r775854 = cbrt(r775853);
double r775855 = r775849 / r775850;
double r775856 = r775854 - r775855;
return r775856;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied div-sub0.0
rmApplied add-cbrt-cube24.4
Applied add-cbrt-cube28.2
Applied cbrt-undiv28.2
Simplified0.0
Final simplification0.0
herbie shell --seed 2020064
(FPCore (x y)
:name "Data.Colour.RGB:hslsv from colour-2.3.3, D"
:precision binary64
:herbie-target
(- (/ x (+ x y)) (/ y (+ x y)))
(/ (- x y) (+ x y)))