x \cdot e^{y \cdot y}\sqrt{e^{y \cdot y}} \cdot \left(\sqrt{e^{y \cdot y}} \cdot x\right)double f(double x, double y) {
double r34267369 = x;
double r34267370 = y;
double r34267371 = r34267370 * r34267370;
double r34267372 = exp(r34267371);
double r34267373 = r34267369 * r34267372;
return r34267373;
}
double f(double x, double y) {
double r34267374 = y;
double r34267375 = r34267374 * r34267374;
double r34267376 = exp(r34267375);
double r34267377 = sqrt(r34267376);
double r34267378 = x;
double r34267379 = r34267377 * r34267378;
double r34267380 = r34267377 * r34267379;
return r34267380;
}




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
Final simplification0.0
herbie shell --seed 2019174 +o rules:numerics
(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))))