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

Error

Bits error versus x

Derivation

  1. Initial program 38.8

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

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

Reproduce

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