


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (* 2 c) (/ (* 4 (* c a)) (- (sqrt (fma (* c a) (- 4) (* b b))) b))) (/ (- (sqrt (fma (- 4) (* c a) (* b b))) b) (* 2 a))) < -4.3047340354700463e+306 or 1.7800453673821206e+308 < (if (>= b 0) (/ (* 2 c) (/ (* 4 (* c a)) (- (sqrt (fma (* c a) (- 4) (* b b))) b))) (/ (- (sqrt (fma (- 4) (* c a) (* b b))) b) (* 2 a))) Initial program 44.8
Applied simplify44.7
Taylor expanded around 0 28.3
Taylor expanded around -inf 25.8
if -4.3047340354700463e+306 < (if (>= b 0) (/ (* 2 c) (/ (* 4 (* c a)) (- (sqrt (fma (* c a) (- 4) (* b b))) b))) (/ (- (sqrt (fma (- 4) (* c a) (* b b))) b) (* 2 a))) < 1.7800453673821206e+308Initial program 1.6
Applied simplify1.5
rmApplied add-cube-cbrt2.0
Time bar (total: 1.2m)Debug logProfile
herbie shell --seed 2019053 +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))))