Average Error: 14.3 → 0.1
Time: 1.9s
Precision: binary64
\[\]
\[\]

Error

Bits error versus x

Derivation

  1. Initial program 14.3

    \[\]
  2. Using strategy rm
  3. Applied frac-sub13.7

    \[\leadsto \]
  4. Simplified0.4

    \[\leadsto \]
  5. Simplified0.4

    \[\leadsto \]
  6. Using strategy rm
  7. Applied difference-of-squares0.4

    \[\leadsto \]
  8. Applied associate-/r*0.1

    \[\leadsto \]
  9. Simplified0.1

    \[\leadsto \]
  10. Final simplification0.1

    \[\leadsto \]

Reproduce

herbie shell --seed 2020179 
(FPCore (x)
  :name "Asymptote A"
  :precision binary64
  (- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0))))