


Bits error versus a



Bits error versus b



Bits error versus c
Results
if (if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (/ (* c (* a 4)) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (* 2 a))) < -2.645759060850583e-280Initial program 1.7
rmApplied flip-+14.6
Applied simplify14.6
if -2.645759060850583e-280 < (if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (/ (* c (* a 4)) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (* 2 a))) < 4.322864046973888e-299 or 3.5407074161807866e+232 < (if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (/ (* c (* a 4)) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (* 2 a))) Initial program 37.1
Taylor expanded around -inf 26.0
Applied simplify23.9
rmApplied clear-num24.1
Taylor expanded around inf 11.2
Applied simplify10.7
if 4.322864046973888e-299 < (if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (/ (* c (* a 4)) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (* 2 a))) < 3.5407074161807866e+232Initial program 1.6
rmApplied flip-+1.9
Applied simplify2.0
Time bar (total: 1.6m)Debug logProfile
herbie shell --seed 2018199
(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))))