


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (* 2 c) (/ (* (* 4 c) a) (- (sqrt (fma (- c) (* 4 a) (* b b))) b))) (/ (- (sqrt (fma (* 4 a) (- c) (* b b))) b) (* a 2))) < -5.260880840655717e+300 or 5.746948039182271e+297 < (if (>= b 0) (/ (* 2 c) (/ (* (* 4 c) a) (- (sqrt (fma (- c) (* 4 a) (* b b))) b))) (/ (- (sqrt (fma (* 4 a) (- c) (* b b))) b) (* a 2))) Initial program 45.4
Applied simplify45.4
Taylor expanded around inf 30.4
Applied simplify27.8
if -5.260880840655717e+300 < (if (>= b 0) (/ (* 2 c) (/ (* (* 4 c) a) (- (sqrt (fma (- c) (* 4 a) (* b b))) b))) (/ (- (sqrt (fma (* 4 a) (- c) (* b b))) b) (* a 2))) < 5.746948039182271e+297Initial program 1.7
Applied simplify1.7
rmApplied add-sqr-sqrt1.7
Applied sqrt-prod1.8
Time bar (total: 1.1m)Debug logProfile
herbie shell --seed 2018193 +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))))