


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))) < -4.218029029324413e-207 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))) < 6.440498933732785e+238Initial program 1.6
Applied simplify1.6
rmApplied add-sqr-sqrt1.6
Applied sqrt-prod1.7
Applied fma-neg1.7
if -4.218029029324413e-207 < (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.0Initial program 41.0
Applied simplify41.0
Taylor expanded around 0 24.9
if 6.440498933732785e+238 < (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 22.2
Applied simplify22.2
Taylor expanded around inf 23.1
Applied simplify16.8
rmApplied div-inv16.8
Applied fma-neg16.8
Time bar (total: 53.0s)Debug logProfile
herbie shell --seed '#(1070960995 739739648 2531964651 3069671617 351857262 3877178482)' +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)))))))