Average Error: 58.0 → 58.0
Time: 2.3s
Precision: binary64
\[e^{x} - e^{-x}\]
\[e^{x} - e^{-x}\]

Error

Bits error versus x

Derivation

  1. Initial program 58.0

    \[e^{x} - e^{-x}\]
  2. Final simplification58.0

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

Reproduce

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