


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (- (- b) (* (fabs (cbrt (fma (- c) (* 4 a) (* b b)))) (sqrt (cbrt (fma (* a 4) (- c) (* b b)))))) (* 2 a)) (/ (* 2 c) (- b b))) < -inf.0Initial program 26.6
Applied simplify26.6
Taylor expanded around 0 17.5
if -inf.0 < (if (>= b 0) (/ (- (- b) (* (fabs (cbrt (fma (- c) (* 4 a) (* b b)))) (sqrt (cbrt (fma (* a 4) (- c) (* b b)))))) (* 2 a)) (/ (* 2 c) (- b b))) < 1.0103098938519582e+249Initial program 3.3
Applied simplify3.3
rmApplied add-cube-cbrt3.3
Applied sqrt-prod3.3
Applied simplify3.3
if 1.0103098938519582e+249 < (if (>= b 0) (/ (- (- b) (* (fabs (cbrt (fma (- c) (* 4 a) (* b b)))) (sqrt (cbrt (fma (* a 4) (- c) (* b b)))))) (* 2 a)) (/ (* 2 c) (- b b))) Initial program 26.4
Applied simplify26.4
Taylor expanded around 0 17.1
Time bar (total: 1.8m)Debug logProfile
herbie shell --seed '#(1070609872 3456127585 2380521889 2328837196 1765472538 734540918)' +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)))))))