



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 34.3 |
|---|---|
| Comparison | 21.3 |
| Herbie | 5.6 |
if b < -2.4297612505128895e+125Initial program 60.3
rmApplied flip-- 60.4
Applied simplify 35.7
Applied taylor 16.4
Taylor expanded around -inf 16.4
Applied simplify 1.1
Applied simplify 1.1
if -2.4297612505128895e+125 < b < 7.873756563569149e-300Initial program 33.6
rmApplied flip-- 33.7
Applied simplify 16.2
rmApplied *-un-lft-identity 16.2
Applied times-frac 16.2
Applied times-frac 16.2
Applied simplify 16.2
Applied simplify 8.6
if 7.873756563569149e-300 < b < 1.5428617303718363e+108Initial program 8.2
rmApplied div-inv 8.4
if 1.5428617303718363e+108 < b Initial program 47.7
Applied taylor 0
Taylor expanded around inf 0
Applied simplify 0
Time bar (total: 55.4s) Debug log
Please include this information when filing a bug report:
herbie shell --seed '#(2277612311 2645429965 1090895633 2857793080 2144184008 3989768357)'
(FPCore (a b c)
:name "quadm (p42, negative)"
:target
(if (< b 0) (/ c (* a (/ (+ (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)))) (/ (- (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)))
(/ (- (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)))