Average Error: 14.0 → 0.1
Time: 42.2s
Precision: 64
Internal Precision: 896
\[\frac{1}{x + 1} - \frac{1}{x - 1}\]
\[\frac{\frac{-2}{x + 1}}{x - 1}\]

Error

Bits error versus x

Derivation

  1. Initial program 14.0

    \[\frac{1}{x + 1} - \frac{1}{x - 1}\]
  2. Using strategy rm
  3. Applied frac-sub13.4

    \[\leadsto \color{blue}{\frac{1 \cdot \left(x - 1\right) - \left(x + 1\right) \cdot 1}{\left(x + 1\right) \cdot \left(x - 1\right)}}\]
  4. Applied simplify0.4

    \[\leadsto \frac{\color{blue}{0 - 2}}{\left(x + 1\right) \cdot \left(x - 1\right)}\]
  5. Using strategy rm
  6. Applied associate-/r*0.1

    \[\leadsto \color{blue}{\frac{\frac{0 - 2}{x + 1}}{x - 1}}\]
  7. Applied simplify0.1

    \[\leadsto \frac{\color{blue}{\frac{-2}{x + 1}}}{x - 1}\]

Runtime

Time bar (total: 42.2s)Debug logProfile

herbie shell --seed '#(1070355188 2193211668 3977393919 3454156579 3755371326 1656365382)' 
(FPCore (x)
  :name "Asymptote A"
  (- (/ 1 (+ x 1)) (/ 1 (- x 1))))