


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (- (- b) (sqrt (fma (- c) (* 4 a) (* b b)))) (* a 2)) (/ 2 0)) < -4.0456271846032496e+306Initial program 61.0
Applied simplify60.9
Taylor expanded around 0 16.0
if -4.0456271846032496e+306 < (if (>= b 0) (/ (- (- b) (sqrt (fma (- c) (* 4 a) (* b b)))) (* a 2)) (/ 2 0)) < 7.483680854735545e+241Initial program 2.9
Applied simplify2.9
rmApplied add-sqr-sqrt2.9
Applied sqrt-prod2.9
if 7.483680854735545e+241 < (if (>= b 0) (/ (- (- b) (sqrt (fma (- c) (* 4 a) (* b b)))) (* a 2)) (/ 2 0)) Initial program 21.8
Applied simplify21.8
Taylor expanded around 0 16.9
Time bar (total: 53.5s)Debug logProfile
herbie shell --seed 2018166 +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)))))))