x \cdot e^{y \cdot y}\sqrt{e^{y \cdot y}} \cdot \left(\sqrt{{\left(e^{y}\right)}^{y}} \cdot x\right)double f(double x, double y) {
double r472695 = x;
double r472696 = y;
double r472697 = r472696 * r472696;
double r472698 = exp(r472697);
double r472699 = r472695 * r472698;
return r472699;
}
double f(double x, double y) {
double r472700 = y;
double r472701 = r472700 * r472700;
double r472702 = exp(r472701);
double r472703 = sqrt(r472702);
double r472704 = exp(r472700);
double r472705 = pow(r472704, r472700);
double r472706 = sqrt(r472705);
double r472707 = x;
double r472708 = r472706 * r472707;
double r472709 = r472703 * r472708;
return r472709;
}




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
Simplified0.0
Final simplification0.0
herbie shell --seed 2019179 +o rules:numerics
(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))))