


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))) < -4.1000860318099456e-286Initial program 1.7
rmApplied flip-+14.5
Applied simplify14.5
if -4.1000860318099456e-286 < (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.2
Taylor expanded around -inf 26.0
Applied simplify23.9
rmApplied clear-num24.1
Taylor expanded around inf 11.1
Applied simplify10.6
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))))