x \cdot e^{y \cdot y}x \cdot e^{y \cdot y}double f(double x, double y) {
double r783504 = x;
double r783505 = y;
double r783506 = r783505 * r783505;
double r783507 = exp(r783506);
double r783508 = r783504 * r783507;
return r783508;
}
double f(double x, double y) {
double r783509 = x;
double r783510 = y;
double r783511 = r783510 * r783510;
double r783512 = exp(r783511);
double r783513 = r783509 * r783512;
return r783513;
}




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