


Bits error versus a



Bits error versus b



Bits error versus c
if (if (>= b 0) (/ (* 2 c) (/ (* (* 4 c) a) (- (sqrt (fma -4 (* a c) (* b b))) b))) (/ (- (sqrt (fma (* -4 a) c (* b b))) b) (* a 2))) < -inf.0 or 1.3565404092271088e+170 < (if (>= b 0) (/ (* 2 c) (/ (* (* 4 c) a) (- (sqrt (fma -4 (* a c) (* b b))) b))) (/ (- (sqrt (fma (* -4 a) c (* b b))) b) (* a 2))) Initial program 40.3
Applied simplify40.3
Taylor expanded around 0 25.9
if -inf.0 < (if (>= b 0) (/ (* 2 c) (/ (* (* 4 c) a) (- (sqrt (fma -4 (* a c) (* b b))) b))) (/ (- (sqrt (fma (* -4 a) c (* b b))) b) (* a 2))) < 1.3565404092271088e+170Initial program 1.6
Applied simplify1.6
rmApplied add-cube-cbrt1.8
Applied sqrt-prod1.8
Applied simplify1.8
Time bar (total: 47.0s)Debug logProfile
herbie shell --seed '#(1070991898 1055468627 4280279443 640792587 928206309 3646738750)' +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))))