


Bits error versus a



Bits error versus b



Bits error versus c
Results
if (if (>= b 0) (/ (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (/ (* 2 c) (/ (* c (* a 4)) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))))) < -1.2261219580808033e+307 or 4.5350271850395775e+277 < (if (>= b 0) (/ (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (/ (* 2 c) (/ (* c (* a 4)) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))))) Initial program 45.1
Taylor expanded around -inf 30.4
Applied simplify28.5
Taylor expanded around inf 15.5
Applied simplify13.0
if -1.2261219580808033e+307 < (if (>= b 0) (/ (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (/ (* 2 c) (/ (* c (* a 4)) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))))) < 4.5350271850395775e+277Initial program 1.4
rmApplied add-sqr-sqrt1.4
Applied sqrt-prod1.5
Time bar (total: 1.5m)Debug logProfile
herbie shell --seed 2018214
(FPCore (a b c)
:name "jeff quadratic root 1"
(if (>= b 0) (/ (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (/ (* 2 c) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))))