Average Error: 23.1 → 23.1
Time: 948.0ms
Precision: binary64
\[\frac{-1}{\left(-t\right) + \sqrt{1 + t \cdot t}}\]
\[\frac{-1}{\left(-t\right) + \sqrt{1 + t \cdot t}}\]

Error

Bits error versus t

Derivation

  1. Initial program 23.1

    \[\frac{-1}{\left(-t\right) + \sqrt{1 + t \cdot t}}\]
  2. Final simplification23.1

    \[\leadsto \frac{-1}{\left(-t\right) + \sqrt{1 + t \cdot t}}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (t)
  :name "(/ (- 1) (+ (- t) (sqrt (+ 1 (* t t)))))"
  :precision binary64
  (/ (neg 1.0) (+ (neg t) (sqrt (+ 1.0 (* t t))))))