


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)) < -2.917130434005371e+221 or 6.496019890407578e+197 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) Initial program 1.2
Applied simplify1.2
rmApplied div-sub1.2
if -2.917130434005371e+221 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < -0.6203542294033277Initial program 17.1
Applied simplify17.1
rmApplied flip--17.9
Applied simplify5.8
rmApplied add-sqr-sqrt6.3
if -0.6203542294033277 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < -9.7608597123688e-319 or 1.655766096544357e-290 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < 6.496019890407578e+197Initial program 26.4
Applied simplify26.4
rmApplied flip--27.3
Applied simplify12.1
rmApplied expm1-log1p-u13.0
Applied simplify5.6
if -9.7608597123688e-319 < (/ (* (* 4 (- c)) (/ 1 2)) (+ (sqrt (fma (- c) (* 4 a) (* b b))) b)) < 1.655766096544357e-290Initial program 59.0
Applied simplify59.0
rmApplied flip--59.5
Applied simplify48.4
Taylor expanded around 0 36.8
Time bar (total: 2.7m)Debug logProfile
herbie shell --seed '#(1070578969 3140398606 632207097 462683394 1189254563 964980650)' +o rules:numerics
(FPCore (a b c)
:name "Quadratic roots, full range"
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)))