x \cdot e^{y \cdot y}{\left(e^{y}\right)}^{y} \cdot xdouble f(double x, double y) {
double r631877 = x;
double r631878 = y;
double r631879 = r631878 * r631878;
double r631880 = exp(r631879);
double r631881 = r631877 * r631880;
return r631881;
}
double f(double x, double y) {
double r631882 = y;
double r631883 = exp(r631882);
double r631884 = pow(r631883, r631882);
double r631885 = x;
double r631886 = r631884 * r631885;
return r631886;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Simplified0.0
rmApplied add-sqr-sqrt0.0
Applied associate-*l*0.0
rmApplied *-un-lft-identity0.0
Applied associate-*l*0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019195
(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))))