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 r522502 = x;
double r522503 = y;
double r522504 = r522503 * r522503;
double r522505 = exp(r522504);
double r522506 = r522502 * r522505;
return r522506;
}
double f(double x, double y) {
double r522507 = y;
double r522508 = exp(r522507);
double r522509 = 2.0;
double r522510 = r522507 / r522509;
double r522511 = r522509 * r522510;
double r522512 = pow(r522508, r522511);
double r522513 = x;
double r522514 = r522512 * r522513;
return r522514;
}




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 2019291
(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))))