x \cdot e^{y \cdot y}x \cdot e^{y \cdot y}double f(double x, double y) {
double r476215 = x;
double r476216 = y;
double r476217 = r476216 * r476216;
double r476218 = exp(r476217);
double r476219 = r476215 * r476218;
return r476219;
}
double f(double x, double y) {
double r476220 = x;
double r476221 = y;
double r476222 = r476221 * r476221;
double r476223 = exp(r476222);
double r476224 = r476220 * r476223;
return r476224;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019323
(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))))