


Bits error versus a



Bits error versus b



Bits error versus c
if (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < -5.153312822884974e+245 or 1.4092286300368768e+163 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) Initial program 1.8
Applied simplify1.8
rmApplied add-sqr-sqrt1.8
Applied sqrt-prod2.0
Applied fma-neg1.9
if -5.153312822884974e+245 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < -1.2831059250423066e-06Initial program 18.4
Applied simplify18.4
rmApplied flip--19.1
Applied simplify5.7
if -1.2831059250423066e-06 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < -1.0687528142207784e-257 or 2.6034978300094934e-299 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < 1.4092286300368768e+163Initial program 25.9
Applied simplify25.9
rmApplied flip--26.5
Applied simplify10.9
rmApplied expm1-log1p-u11.8
Applied simplify4.6
if -1.0687528142207784e-257 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < 2.6034978300094934e-299Initial program 58.1
Applied simplify58.1
rmApplied clear-num58.1
Taylor expanded around 0 29.0
Applied simplify28.3
Time bar (total: 2.8m)Debug logProfile
herbie shell --seed '#(1070833653 108281690 3330367898 3632331308 3494323072 43156186)' +o rules:numerics
(FPCore (a b c)
:name "Quadratic roots, full range"
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)))