x \cdot e^{y \cdot y}{\left(e^{y}\right)}^{\left(2 \cdot \frac{y}{2}\right)} \cdot xdouble f(double x, double y) {
double r581345 = x;
double r581346 = y;
double r581347 = r581346 * r581346;
double r581348 = exp(r581347);
double r581349 = r581345 * r581348;
return r581349;
}
double f(double x, double y) {
double r581350 = y;
double r581351 = exp(r581350);
double r581352 = 2.0;
double r581353 = r581350 / r581352;
double r581354 = r581352 * r581353;
double r581355 = pow(r581351, r581354);
double r581356 = x;
double r581357 = r581355 * r581356;
return r581357;
}




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