


Bits error versus a



Bits error versus b



Bits error versus c
if b < -1.03114482829894554e131Initial program 34.1
Taylor expanded around -inf 5.9
Simplified1.8
if -1.03114482829894554e131 < b < 5.1560798101124901e113Initial program 8.7
Simplified8.7
if 5.1560798101124901e113 < b Initial program 50.0
Taylor expanded around inf 9.6
Simplified3.0
Final simplification6.5
herbie shell --seed 2020181
(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)))))))