Average Error: 58.5 → 0.2
Time: 30.2s
Precision: 64
Internal Precision: 1344
\[\log \left(1 - e\right) - \log \left(1 + e\right)\]
\[-\left(\frac{2}{3} \cdot {e}^{3} + \left(\frac{2}{5} \cdot {e}^{5} + 2 \cdot e\right)\right)\]

Error

Bits error versus e

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 58.5

    \[\log \left(1 - e\right) - \log \left(1 + e\right)\]
  2. Taylor expanded around 0 0.2

    \[\leadsto \color{blue}{-\left(\frac{2}{3} \cdot {e}^{3} + \left(\frac{2}{5} \cdot {e}^{5} + 2 \cdot e\right)\right)}\]

Runtime

Time bar (total: 30.2s)Debug log

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