Average Error: 0.4 → 0.4
Time: 10.0s
Precision: 64
Internal Precision: 320
\[\frac{e^{x}}{e^{x} + 1}\]
\[e^{x - \log \left(e^{x} + 1\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.4

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

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

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

Runtime

Time bar (total: 10.0s)Debug log

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