e^{-\left(1 - x \cdot x\right)}{\left(e^{x}\right)}^{x} \cdot e^{-1}double f(double x) {
double r39325 = 1.0;
double r39326 = x;
double r39327 = r39326 * r39326;
double r39328 = r39325 - r39327;
double r39329 = -r39328;
double r39330 = exp(r39329);
return r39330;
}
double f(double x) {
double r39331 = x;
double r39332 = exp(r39331);
double r39333 = pow(r39332, r39331);
double r39334 = 1.0;
double r39335 = -r39334;
double r39336 = exp(r39335);
double r39337 = r39333 * r39336;
return r39337;
}



Bits error versus x
Results
Initial program 0.0
Simplified0.0
rmApplied add-sqr-sqrt0.0
rmApplied fma-udef0.0
Applied exp-sum0.0
Applied sqrt-prod0.0
Applied fma-udef0.0
Applied exp-sum0.0
Applied sqrt-prod0.0
Applied swap-sqr0.0
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019323 +o rules:numerics
(FPCore (x)
:name "exp neg sub"
:precision binary64
(exp (- (- 1 (* x x)))))