x \cdot e^{y \cdot y}x \cdot \sqrt[3]{{\left(e^{y}\right)}^{y} \cdot \left(e^{y \cdot y} \cdot {\left(e^{y}\right)}^{y}\right)}double f(double x, double y) {
double r38310191 = x;
double r38310192 = y;
double r38310193 = r38310192 * r38310192;
double r38310194 = exp(r38310193);
double r38310195 = r38310191 * r38310194;
return r38310195;
}
double f(double x, double y) {
double r38310196 = x;
double r38310197 = y;
double r38310198 = exp(r38310197);
double r38310199 = pow(r38310198, r38310197);
double r38310200 = r38310197 * r38310197;
double r38310201 = exp(r38310200);
double r38310202 = r38310201 * r38310199;
double r38310203 = r38310199 * r38310202;
double r38310204 = cbrt(r38310203);
double r38310205 = r38310196 * r38310204;
return r38310205;
}




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 *-un-lft-identity0.1
Applied unpow-prod-down0.1
Applied associate-*r*0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2019170
(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))))