



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 34.5 |
|---|---|
| Comparison | 21.9 |
| Herbie | 5.6 |
if b < -4.319226994044875e+67Initial program 58.8
Applied taylor 40.6
Taylor expanded around -inf 40.6
Applied simplify 0
Applied simplify 0
if -4.319226994044875e+67 < b < 7.285691125792036e-223Initial program 28.1
rmApplied flip-- 28.3
Applied simplify 17.3
rmApplied *-un-lft-identity 17.3
Applied times-frac 17.3
Applied times-frac 17.3
Applied simplify 17.3
Applied simplify 10.8
rmApplied add-sqr-sqrt 11.0
if 7.285691125792036e-223 < b < 1.0905893076356243e+100Initial program 8.0
rmApplied clear-num 8.1
if 1.0905893076356243e+100 < b Initial program 45.1
Applied taylor 0
Taylor expanded around inf 0
Applied simplify 0
Time bar (total: 1.1m) Debug log
Please include this information when filing a bug report:
herbie --seed '#(1999171097 831851190 1290423800 1216071174 2948071701 1563903785)'
(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)))