x \cdot e^{y \cdot y}x \cdot e^{y \cdot y}double f(double x, double y) {
double r548017 = x;
double r548018 = y;
double r548019 = r548018 * r548018;
double r548020 = exp(r548019);
double r548021 = r548017 * r548020;
return r548021;
}
double f(double x, double y) {
double r548022 = x;
double r548023 = y;
double r548024 = r548023 * r548023;
double r548025 = exp(r548024);
double r548026 = r548022 * r548025;
return r548026;
}




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