


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (/ (* (* a c) 4) (- (sqrt (fma (- c) (* a 4) (* b b))) b)) (* 2 a)) (/ (* 2 c) (- (sqrt (fma (* a 4) (- c) (* b b))) b))) < -8.219898578630204e-303 or 0.0 < (if (>= b 0) (/ (/ (* (* a c) 4) (- (sqrt (fma (- c) (* a 4) (* b b))) b)) (* 2 a)) (/ (* 2 c) (- (sqrt (fma (* a 4) (- c) (* b b))) b))) < +inf.0Initial program 1.5
Applied simplify1.5
rmApplied add-cube-cbrt1.8
Applied sqrt-prod1.8
Applied simplify1.8
if -8.219898578630204e-303 < (if (>= b 0) (/ (/ (* (* a c) 4) (- (sqrt (fma (- c) (* a 4) (* b b))) b)) (* 2 a)) (/ (* 2 c) (- (sqrt (fma (* a 4) (- c) (* b b))) b))) < 0.0 or +inf.0 < (if (>= b 0) (/ (/ (* (* a c) 4) (- (sqrt (fma (- c) (* a 4) (* b b))) b)) (* 2 a)) (/ (* 2 c) (- (sqrt (fma (* a 4) (- c) (* b b))) b))) Initial program 44.0
Applied simplify44.0
Taylor expanded around inf 29.7
Applied simplify27.3
rmApplied clear-num27.4
Taylor expanded around -inf 25.3
Applied simplify25.3
Time bar (total: 1.1m)Debug logProfile
herbie shell --seed '#(1070578969 3140398606 632207097 462683394 1189254563 964980650)' +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)))))))