Average Error: 33.8 → 33.8
Time: 1.7s
Precision: binary64
\[\frac{\left(-b\right) - \sqrt{b \cdot b - a \cdot c}}{a}\]
\[\frac{\left(-b\right) - \sqrt{b \cdot b - a \cdot c}}{a}\]

Error

Bits error versus b

Bits error versus a

Bits error versus c

Derivation

  1. Initial program 33.8

    \[\frac{\left(-b\right) - \sqrt{b \cdot b - a \cdot c}}{a}\]
  2. Final simplification33.8

    \[\leadsto \frac{\left(-b\right) - \sqrt{b \cdot b - a \cdot c}}{a}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (b a c)
  :name "(/ (- (- b) (sqrt (- (* b b) (* a c)))) a)"
  :precision binary64
  (/ (- (neg b) (sqrt (- (* b b) (* a c)))) a))