


Bits error versus a



Bits error versus b



Bits error versus c
if b < -9.42133325574221009e131Initial program 55.9
Taylor expanded around inf 55.9
Simplified55.9
Taylor expanded around -inf 10.7
Simplified2.7
if -9.42133325574221009e131 < b < 3.92178089451345625e97Initial program 8.5
rmApplied add-sqr-sqrt8.5
Applied sqrt-prod8.6
Simplified8.6
Simplified8.6
if 3.92178089451345625e97 < b Initial program 29.1
Taylor expanded around inf 6.8
Simplified3.0
rmApplied add-exp-log3.0
Simplified3.0
Final simplification6.5
herbie shell --seed 2020181
(FPCore (a b c)
:name "jeff quadratic root 2"
:precision binary64
(if (>= b 0.0) (/ (* 2.0 c) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))))