


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))) < -6.002826656229516e+278 or 3.84801378214129e+276 < (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 44.0
Applied simplify44.0
Taylor expanded around inf 29.8
Applied simplify27.5
if -6.002826656229516e+278 < (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))) < 3.84801378214129e+276Initial program 1.4
Applied simplify1.4
rmApplied add-sqr-sqrt1.6
Time bar (total: 1.1m)Debug logProfile
herbie shell --seed '#(1071852389 864846987 1238109217 3425890003 4124793586 650694553)' +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))))