


Bits error versus a



Bits error versus b



Bits error versus c
if b < -2.9425467623133534e153Initial program 64.0
Taylor expanded around -inf 11.2
Simplified3.0
if -2.9425467623133534e153 < b < 4.6437836518398973e80Initial program 9.0
rmApplied add-sqr-sqrt9.0
Applied sqrt-prod9.1
Simplified9.1
Simplified9.1
if 4.6437836518398973e80 < b Initial program 28.7
Taylor expanded around inf 7.0
Simplified2.9
Final simplification6.9
herbie shell --seed 2020179
(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))))