Average Error: 0.0 → 0.0
Time: 767.0ms
Precision: binary64
\[\frac{1}{1 + e^{-x}}\]
\[\frac{1}{1 + e^{-x}}\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

    \[\frac{1}{1 + e^{-x}}\]
  2. Final simplification0.0

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

Reproduce

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