x \cdot e^{y \cdot y}x \cdot e^{y \cdot y}double f(double x, double y) {
double r1618444 = x;
double r1618445 = y;
double r1618446 = r1618445 * r1618445;
double r1618447 = exp(r1618446);
double r1618448 = r1618444 * r1618447;
return r1618448;
}
double f(double x, double y) {
double r1618449 = x;
double r1618450 = y;
double r1618451 = r1618450 * r1618450;
double r1618452 = exp(r1618451);
double r1618453 = r1618449 * r1618452;
return r1618453;
}




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