Average Error: 0.0 → 0.0
Time: 23.9s
Precision: 64
Internal Precision: 320
\[\frac{1}{x - 1} + \frac{x}{x + 1}\]
\[\frac{\frac{1}{x - 1} \cdot \frac{1}{x - 1} - \frac{x}{x + 1} \cdot \frac{x}{x + 1}}{\frac{1}{x - 1} - \frac{x}{x + 1}}\]

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 flip-+0.0

    \[\leadsto \color{blue}{\frac{\frac{1}{x - 1} \cdot \frac{1}{x - 1} - \frac{x}{x + 1} \cdot \frac{x}{x + 1}}{\frac{1}{x - 1} - \frac{x}{x + 1}}}\]
  4. Final simplification0.0

    \[\leadsto \frac{\frac{1}{x - 1} \cdot \frac{1}{x - 1} - \frac{x}{x + 1} \cdot \frac{x}{x + 1}}{\frac{1}{x - 1} - \frac{x}{x + 1}}\]

Runtime

Time bar (total: 23.9s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.00.00.00.00%
herbie shell --seed 2018340 
(FPCore (x)
  :name "Asymptote B"
  (+ (/ 1 (- x 1)) (/ x (+ x 1))))