Average Error: 14.5 → 0.4
Time: 1.8m
Precision: 64
Internal Precision: 832
\[\frac{1}{x + 1} - \frac{1}{x - 1}\]
\[\frac{-\left(1 + 1\right)}{\left(x + 1\right) \cdot \left(x - 1\right)}\]

Error

Bits error versus x

Derivation

  1. Initial program 14.5

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

    \[\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}{-\left(1 + 1\right)}}{\left(x + 1\right) \cdot \left(x - 1\right)}\]

Runtime

Time bar (total: 1.8m)Debug logProfile

herbie shell --seed '#(1072107073 2127697367 3936270018 2300570620 2134894798 4023771849)' 
(FPCore (x)
  :name "Asymptote A"
  (- (/ 1 (+ x 1)) (/ 1 (- x 1))))