


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))))))) < -2.2052409834492193e+295 or 1.5217086720205354e+289 < (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 43.8
Taylor expanded around -inf 29.8
Applied simplify27.4
Taylor expanded around inf 14.5
Applied simplify12.0
if -2.2052409834492193e+295 < (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.5217086720205354e+289Initial program 1.6
rmApplied add-sqr-sqrt1.6
Applied sqrt-prod1.7
Time bar (total: 1.5m)Debug logProfile
herbie shell --seed 2018201
(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)))))))