


Bits error versus a



Bits error versus b



Bits error versus c
if b < -5.7901015788997141e138Initial program 37.2
Taylor expanded around -inf 6.6
Simplified1.7
if -5.7901015788997141e138 < b < 5.974798443547602e57Initial program 9.0
Simplified9.1
if 5.974798443547602e57 < b Initial program 39.3
Taylor expanded around inf 11.0
Simplified6.0
Final simplification7.1
herbie shell --seed 2020191
(FPCore (a b c)
:name "jeff quadratic root 1"
:precision binary64
(if (>= b 0.0) (/ (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a)) (/ (* 2.0 c) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))))