x \cdot e^{y \cdot y}{e}^{\left({y}^{2}\right)} \cdot xdouble f(double x, double y) {
double r554855 = x;
double r554856 = y;
double r554857 = r554856 * r554856;
double r554858 = exp(r554857);
double r554859 = r554855 * r554858;
return r554859;
}
double f(double x, double y) {
double r554860 = exp(1.0);
double r554861 = y;
double r554862 = 2.0;
double r554863 = pow(r554861, r554862);
double r554864 = pow(r554860, r554863);
double r554865 = x;
double r554866 = r554864 * r554865;
return r554866;
}




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 *-un-lft-identity0.0
Applied exp-prod0.0
Applied pow-pow0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019198 +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))))