e^{-\left(1 - x \cdot x\right)}\frac{\frac{1}{e^{1 - {x}^{2}}}}{e^{\mathsf{fma}\left(-x, x, x \cdot x\right)}}double code(double x) {
return exp(-(1.0 - (x * x)));
}
double code(double x) {
return ((1.0 / exp((1.0 - pow(x, 2.0)))) / exp(fma(-x, x, (x * x))));
}



Bits error versus x
Results
Initial program 0.0
rmApplied exp-neg0.0
rmApplied add-sqr-sqrt0.0
Applied prod-diff0.0
Applied exp-sum0.0
Applied associate-/r*0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020056 +o rules:numerics
(FPCore (x)
:name "exp neg sub"
:precision binary64
(exp (- (- 1 (* x x)))))