


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (/ (* 2 c) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))) < -2.475649067484356e+173Initial program 37.9
Applied simplify37.9
Taylor expanded around inf 15.2
Applied simplify13.2
rmApplied div-inv13.2
if -2.475649067484356e+173 < (if (>= b 0) (/ (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (/ (* 2 c) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))) < 1.764156390640141e+285Initial program 12.2
Applied simplify12.2
rmApplied add-sqr-sqrt12.2
Applied sqrt-prod12.3
if 1.764156390640141e+285 < (if (>= b 0) (/ (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (/ (* 2 c) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))) Initial program 57.9
Applied simplify57.7
Taylor expanded around inf 27.5
Applied simplify18.9
Taylor expanded around 0 19.4
Applied simplify19.4
Time bar (total: 1.2m)Debug logProfile
herbie shell --seed '#(1070833653 108281690 3330367898 3632331308 3494323072 43156186)' +o rules:numerics
(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)))))))