Average Error: 0.0 → 0.1
Time: 6.8s
Precision: 64
Internal Precision: 320
\[\frac{1}{1 + e^{-x}}\]
\[\log \left(e^{\frac{1}{1 + e^{-x}}}\right)\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{1}{1 + e^{-x}}\]
  2. Using strategy rm
  3. Applied add-log-exp0.1

    \[\leadsto \color{blue}{\log \left(e^{\frac{1}{1 + e^{-x}}}\right)}\]

Runtime

Time bar (total: 6.8s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x)
  :name "1/(1+exp(-x))"
  (/ 1 (+ 1 (exp (- x)))))