x \cdot e^{y \cdot y}\left(x \cdot {\left(\sqrt[3]{e^{y}} \cdot \sqrt[3]{e^{y}}\right)}^{y}\right) \cdot {\left(\sqrt[3]{e^{y}}\right)}^{y}double f(double x, double y) {
double r592606 = x;
double r592607 = y;
double r592608 = r592607 * r592607;
double r592609 = exp(r592608);
double r592610 = r592606 * r592609;
return r592610;
}
double f(double x, double y) {
double r592611 = x;
double r592612 = y;
double r592613 = exp(r592612);
double r592614 = cbrt(r592613);
double r592615 = r592614 * r592614;
double r592616 = pow(r592615, r592612);
double r592617 = r592611 * r592616;
double r592618 = pow(r592614, r592612);
double r592619 = r592617 * r592618;
return r592619;
}




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 add-cube-cbrt0.0
Applied unpow-prod-down0.0
Applied associate-*r*0.0
Final simplification0.0
herbie shell --seed 2019209 +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))))