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

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

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

Runtime

Time bar (total: 47.8s)Debug logProfile

herbie shell --seed 2018214 +o rules:numerics
(FPCore (x)
  :name "Asymptote B"
  (+ (/ 1 (- x 1)) (/ x (+ x 1))))