x \cdot e^{y \cdot y}\left(x \cdot \sqrt{e^{y \cdot y}}\right) \cdot {\left(e^{y}\right)}^{\left(\frac{y}{2}\right)}double f(double x, double y) {
double r763941 = x;
double r763942 = y;
double r763943 = r763942 * r763942;
double r763944 = exp(r763943);
double r763945 = r763941 * r763944;
return r763945;
}
double f(double x, double y) {
double r763946 = x;
double r763947 = y;
double r763948 = r763947 * r763947;
double r763949 = exp(r763948);
double r763950 = sqrt(r763949);
double r763951 = r763946 * r763950;
double r763952 = exp(r763947);
double r763953 = 2.0;
double r763954 = r763947 / r763953;
double r763955 = pow(r763952, r763954);
double r763956 = r763951 * r763955;
return r763956;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied add-sqr-sqrt0.0
Applied associate-*r*0.0
rmApplied add-log-exp0.0
Applied exp-to-pow0.0
Applied sqrt-pow10.0
Final simplification0.0
herbie shell --seed 2020083
(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))))