x \cdot e^{y \cdot y}\sqrt{e^{y \cdot y}} \cdot \left(\sqrt{{\left(e^{y}\right)}^{y}} \cdot x\right)double f(double x, double y) {
double r500809 = x;
double r500810 = y;
double r500811 = r500810 * r500810;
double r500812 = exp(r500811);
double r500813 = r500809 * r500812;
return r500813;
}
double f(double x, double y) {
double r500814 = y;
double r500815 = r500814 * r500814;
double r500816 = exp(r500815);
double r500817 = sqrt(r500816);
double r500818 = exp(r500814);
double r500819 = pow(r500818, r500814);
double r500820 = sqrt(r500819);
double r500821 = x;
double r500822 = r500820 * r500821;
double r500823 = r500817 * r500822;
return r500823;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied add-sqr-sqrt0.0
Applied associate-*r*0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019179
(FPCore (x y)
:name "Data.Number.Erf:$dmerfcx from erf-2.0.0.0"
:herbie-target
(* x (pow (exp y) y))
(* x (exp (* y y))))