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 r888098 = x;
double r888099 = y;
double r888100 = r888099 * r888099;
double r888101 = exp(r888100);
double r888102 = r888098 * r888101;
return r888102;
}
double f(double x, double y) {
double r888103 = x;
double r888104 = y;
double r888105 = exp(r888104);
double r888106 = 2.0;
double r888107 = r888104 / r888106;
double r888108 = pow(r888105, r888107);
double r888109 = cbrt(r888108);
double r888110 = r888109 * r888109;
double r888111 = r888110 * r888109;
double r888112 = r888103 * r888111;
double r888113 = r888112 * r888108;
return r888113;
}




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
(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))))