


Bits error versus a



Bits error versus b



Bits error versus c
if (/ (* (/ 1 2) (/ (* 4 (- c)) (sqrt (+ b b)))) (sqrt (+ (sqrt (fma (* 4 a) (- c) (* b b))) b))) < -0.00018473086307389325Initial program 23.3
Applied simplify23.3
rmApplied flip--23.4
Applied simplify5.5
rmApplied add-sqr-sqrt5.8
Applied times-frac5.7
if -0.00018473086307389325 < (/ (* (/ 1 2) (/ (* 4 (- c)) (sqrt (+ b b)))) (sqrt (+ (sqrt (fma (* 4 a) (- c) (* b b))) b))) < -2.136371335620778e-308 or 3.337215248924262e-263 < (/ (* (/ 1 2) (/ (* 4 (- c)) (sqrt (+ b b)))) (sqrt (+ (sqrt (fma (* 4 a) (- c) (* b b))) b))) < 9.291655959372901e+27Initial program 42.8
Applied simplify42.8
rmApplied flip--42.8
Applied simplify15.9
rmApplied log1p-expm1-u17.2
Applied simplify4.0
if -2.136371335620778e-308 < (/ (* (/ 1 2) (/ (* 4 (- c)) (sqrt (+ b b)))) (sqrt (+ (sqrt (fma (* 4 a) (- c) (* b b))) b))) < 3.337215248924262e-263Initial program 57.4
Applied simplify57.5
rmApplied flip--57.6
Applied simplify36.6
Taylor expanded around 0 17.3
if 9.291655959372901e+27 < (/ (* (/ 1 2) (/ (* 4 (- c)) (sqrt (+ b b)))) (sqrt (+ (sqrt (fma (* 4 a) (- c) (* b b))) b))) Initial program 21.8
Applied simplify21.8
Time bar (total: 2.1m)Debug logProfile
herbie shell --seed '#(1071979731 1496239409 439705970 2863295848 982327776 189749553)' +o rules:numerics
(FPCore (a b c)
:name "Quadratic roots, full range"
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)))