


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (* 2 c) (/ (* 4 (* a c)) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))) (/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))) < -inf.0 or 4.578275131907385e+300 < (if (>= b 0) (/ (* 2 c) (/ (* 4 (* a c)) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))) (/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))) Initial program 44.3
Taylor expanded around -inf 30.4
Applied simplify28.0
Taylor expanded around inf 14.0
Applied simplify11.5
if -inf.0 < (if (>= b 0) (/ (* 2 c) (/ (* 4 (* a c)) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))) (/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))) < 4.578275131907385e+300Initial program 1.4
rmApplied add-sqr-sqrt1.4
Applied sqrt-prod1.5
Time bar (total: 41.8s)Debug logProfile
herbie shell --seed '#(1070355188 2193211668 3977393919 3454156579 3755371326 1656365382)'
(FPCore (a b c)
:name "jeff quadratic root 2"
(if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))))