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

Error

Bits error versus x

Derivation

  1. Initial program 58.1

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

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

Reproduce

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