


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (* c 2) (/ (* 4 (* c a)) (- (sqrt (fma (- c) (* 4 a) (* b b))) b))) (/ (- (sqrt (fma (- c) (* a 4) (* b b))) b) (* a 2))) < -7.566023914518227e+270Initial program 45.1
Applied simplify45.0
Taylor expanded around inf 27.7
Applied simplify27.6
if -7.566023914518227e+270 < (if (>= b 0) (/ (* c 2) (/ (* 4 (* c a)) (- (sqrt (fma (- c) (* 4 a) (* b b))) b))) (/ (- (sqrt (fma (- c) (* a 4) (* b b))) b) (* a 2))) < 2.46327387833595e+258Initial program 1.6
Applied simplify1.6
rmApplied add-sqr-sqrt1.8
if 2.46327387833595e+258 < (if (>= b 0) (/ (* c 2) (/ (* 4 (* c a)) (- (sqrt (fma (- c) (* 4 a) (* b b))) b))) (/ (- (sqrt (fma (- c) (* a 4) (* b b))) b) (* a 2))) Initial program 41.6
Applied simplify41.6
Taylor expanded around 0 27.6
Time bar (total: 1.0m)Debug logProfile
herbie shell --seed 2020178 +o rules:numerics
(FPCore (a b c)
:name "jeff quadratic root 2"
(if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))))