\frac{x - y}{x + y}\frac{\sqrt[3]{{\left({\left(\frac{x}{x + y}\right)}^{3}\right)}^{3}} - {\left(\frac{y}{x + y}\right)}^{3}}{\frac{y}{x + y} \cdot \left(\frac{y}{x + y} + \frac{x}{x + y}\right) + \frac{x}{x + y} \cdot \frac{x}{x + y}}double f(double x, double y) {
double r716095 = x;
double r716096 = y;
double r716097 = r716095 - r716096;
double r716098 = r716095 + r716096;
double r716099 = r716097 / r716098;
return r716099;
}
double f(double x, double y) {
double r716100 = x;
double r716101 = y;
double r716102 = r716100 + r716101;
double r716103 = r716100 / r716102;
double r716104 = 3.0;
double r716105 = pow(r716103, r716104);
double r716106 = pow(r716105, r716104);
double r716107 = cbrt(r716106);
double r716108 = r716101 / r716102;
double r716109 = pow(r716108, r716104);
double r716110 = r716107 - r716109;
double r716111 = r716108 + r716103;
double r716112 = r716108 * r716111;
double r716113 = r716103 * r716103;
double r716114 = r716112 + r716113;
double r716115 = r716110 / r716114;
return r716115;
}




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 flip3--0.0
Simplified0.0
rmApplied add-cbrt-cube0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020100
(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)))