


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))) < -3.8150793264179156e-237 or 7.5295604426206e-321 < (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.046572810852427e+295Initial program 1.7
rmApplied add-sqr-sqrt1.7
Applied sqrt-prod1.8
if -3.8150793264179156e-237 < (if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (/ (* c (* a 4)) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (* 2 a))) < 7.5295604426206e-321 or 3.046572810852427e+295 < (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 38.3
Taylor expanded around -inf 27.0
Applied simplify25.3
rmApplied clear-num25.4
Taylor expanded around inf 11.5
Applied simplify11.5
Time bar (total: 1.3m)Debug logProfile
herbie shell --seed 2018214
(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))))