x \cdot e^{y \cdot y}x \cdot \sqrt[3]{{\left(e^{y}\right)}^{y} \cdot \left({\left(e^{y}\right)}^{y} \cdot e^{y \cdot y}\right)}double f(double x, double y) {
double r36259503 = x;
double r36259504 = y;
double r36259505 = r36259504 * r36259504;
double r36259506 = exp(r36259505);
double r36259507 = r36259503 * r36259506;
return r36259507;
}
double f(double x, double y) {
double r36259508 = x;
double r36259509 = y;
double r36259510 = exp(r36259509);
double r36259511 = pow(r36259510, r36259509);
double r36259512 = r36259509 * r36259509;
double r36259513 = exp(r36259512);
double r36259514 = r36259511 * r36259513;
double r36259515 = r36259511 * r36259514;
double r36259516 = cbrt(r36259515);
double r36259517 = r36259508 * r36259516;
return r36259517;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.1 |
Initial program 0.0
rmApplied add-log-exp0.0
Applied exp-to-pow0.0
rmApplied add-cbrt-cube0.1
rmApplied pow-exp0.1
Final simplification0.1
herbie shell --seed 2019170 +o rules:numerics
(FPCore (x y)
:name "Data.Number.Erf:$dmerfcx from erf-2.0.0.0"
:herbie-target
(* x (pow (exp y) y))
(* x (exp (* y y))))