x \cdot e^{y \cdot y}x \cdot e^{y \cdot y}double f(double x, double y) {
double r602301 = x;
double r602302 = y;
double r602303 = r602302 * r602302;
double r602304 = exp(r602303);
double r602305 = r602301 * r602304;
return r602305;
}
double f(double x, double y) {
double r602306 = x;
double r602307 = y;
double r602308 = r602307 * r602307;
double r602309 = exp(r602308);
double r602310 = r602306 * r602309;
return r602310;
}




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 2019235
(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))))