Average Error: 39.1 → 39.1
Time: 1.3s
Precision: binary64
\[1 - e^{-x}\]
\[1 - e^{-x}\]

Error

Bits error versus x

Derivation

  1. Initial program 39.1

    \[1 - e^{-x}\]
  2. Final simplification39.1

    \[\leadsto 1 - e^{-x}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(- 1 (exp (- x)))"
  :precision binary64
  (- 1.0 (exp (neg x))))