x \cdot e^{y \cdot y}x \cdot {\left(e^{y}\right)}^{y}double f(double x, double y) {
double r515670 = x;
double r515671 = y;
double r515672 = r515671 * r515671;
double r515673 = exp(r515672);
double r515674 = r515670 * r515673;
return r515674;
}
double f(double x, double y) {
double r515675 = x;
double r515676 = y;
double r515677 = exp(r515676);
double r515678 = pow(r515677, r515676);
double r515679 = r515675 * r515678;
return r515679;
}




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
Final simplification0.0
herbie shell --seed 2019199 +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))))