x \cdot e^{y \cdot y}\left(x \cdot \sqrt{{\left(e^{y}\right)}^{y}}\right) \cdot \sqrt{{\left(e^{y}\right)}^{y}}double f(double x, double y) {
double r264456059 = x;
double r264456060 = y;
double r264456061 = r264456060 * r264456060;
double r264456062 = exp(r264456061);
double r264456063 = r264456059 * r264456062;
return r264456063;
}
double f(double x, double y) {
double r264456064 = x;
double r264456065 = y;
double r264456066 = exp(r264456065);
double r264456067 = pow(r264456066, r264456065);
double r264456068 = sqrt(r264456067);
double r264456069 = r264456064 * r264456068;
double r264456070 = r264456069 * r264456068;
return r264456070;
}




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-sqr-sqrt0.0
Applied associate-*r*0.0
Final simplification0.0
herbie shell --seed 2019173
(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))))