x \cdot e^{y \cdot y}x \cdot \left({\left(e^{y}\right)}^{\left(\frac{y}{2}\right)} \cdot {\left(e^{y}\right)}^{\left(\frac{y}{2}\right)}\right)double f(double x, double y) {
double r812649 = x;
double r812650 = y;
double r812651 = r812650 * r812650;
double r812652 = exp(r812651);
double r812653 = r812649 * r812652;
return r812653;
}
double f(double x, double y) {
double r812654 = x;
double r812655 = y;
double r812656 = exp(r812655);
double r812657 = 2.0;
double r812658 = r812655 / r812657;
double r812659 = pow(r812656, r812658);
double r812660 = r812659 * r812659;
double r812661 = r812654 * r812660;
return r812661;
}




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
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020001
(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))))