x \cdot e^{y \cdot y}\left(x \cdot \left(\left(\sqrt[3]{{\left(e^{y}\right)}^{\left(\frac{y}{2}\right)}} \cdot \sqrt[3]{{\left(e^{y}\right)}^{\left(\frac{y}{2}\right)}}\right) \cdot \sqrt[3]{{\left(e^{y}\right)}^{\left(\frac{y}{2}\right)}}\right)\right) \cdot {\left(e^{y}\right)}^{\left(\frac{y}{2}\right)}double f(double x, double y) {
double r833871 = x;
double r833872 = y;
double r833873 = r833872 * r833872;
double r833874 = exp(r833873);
double r833875 = r833871 * r833874;
return r833875;
}
double f(double x, double y) {
double r833876 = x;
double r833877 = y;
double r833878 = exp(r833877);
double r833879 = 2.0;
double r833880 = r833877 / r833879;
double r833881 = pow(r833878, r833880);
double r833882 = cbrt(r833881);
double r833883 = r833882 * r833882;
double r833884 = r833883 * r833882;
double r833885 = r833876 * r833884;
double r833886 = r833885 * r833881;
return r833886;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied add-log-exp0.0
Applied exp-to-pow0.0
rmApplied sqr-pow0.0
Applied associate-*r*0.0
rmApplied add-cube-cbrt0.0
Final simplification0.0
herbie shell --seed 2020060 +o rules:numerics
(FPCore (x y)
:name "Data.Number.Erf:$dmerfcx from erf-2.0.0.0"
:precision binary64
:herbie-target
(* x (pow (exp y) y))
(* x (exp (* y y))))