\frac{e^{x \cdot \log \left(\frac{x}{x + y}\right)}}{x}\frac{\left({\left(\frac{\sqrt[3]{x}}{\sqrt[3]{x + y}}\right)}^{x} \cdot {\left(\frac{\sqrt[3]{x}}{\sqrt[3]{x + y}}\right)}^{x}\right) \cdot {\left(\frac{\sqrt[3]{x}}{\sqrt[3]{x + y}}\right)}^{x}}{x}double f(double x, double y) {
double r476388 = x;
double r476389 = y;
double r476390 = r476388 + r476389;
double r476391 = r476388 / r476390;
double r476392 = log(r476391);
double r476393 = r476388 * r476392;
double r476394 = exp(r476393);
double r476395 = r476394 / r476388;
return r476395;
}
double f(double x, double y) {
double r476396 = x;
double r476397 = cbrt(r476396);
double r476398 = y;
double r476399 = r476396 + r476398;
double r476400 = cbrt(r476399);
double r476401 = r476397 / r476400;
double r476402 = pow(r476401, r476396);
double r476403 = r476402 * r476402;
double r476404 = r476403 * r476402;
double r476405 = r476404 / r476396;
return r476405;
}




Bits error versus x




Bits error versus y
Results
| Original | 8.2 |
|---|---|
| Target | 7.7 |
| Herbie | 1.0 |
Initial program 8.2
Simplified8.2
rmApplied add-cube-cbrt21.2
Applied add-cube-cbrt8.2
Applied times-frac8.2
Applied unpow-prod-down2.5
rmApplied times-frac2.5
Applied unpow-prod-down1.0
Final simplification1.0
herbie shell --seed 2020021
(FPCore (x y)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, F"
:precision binary64
:herbie-target
(if (< y -3.7311844206647956e+94) (/ (exp (/ -1 y)) x) (if (< y 2.817959242728288e+37) (/ (pow (/ x (+ y x)) x) x) (if (< y 2.347387415166998e+178) (log (exp (/ (pow (/ x (+ y x)) x) x))) (/ (exp (/ -1 y)) x))))
(/ (exp (* x (log (/ x (+ x y))))) x))