



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 34.3 |
|---|---|
| Comparison | 21.6 |
| Herbie | 5.3 |
if b < -1.6024324632435378e+106Initial program 48.1
Applied taylor 0
Taylor expanded around -inf 0
Applied simplify 0
if -1.6024324632435378e+106 < b < 7.311707109636147e-288Initial program 9.4
if 7.311707109636147e-288 < b < 1.0612379322957353e+83Initial program 32.6
rmApplied flip-+ 32.7
Applied simplify 16.0
rmApplied *-un-lft-identity 16.0
Applied times-frac 16.0
Applied times-frac 16.0
Applied simplify 16.0
Applied simplify 8.4
if 1.0612379322957353e+83 < b Initial program 58.6
Applied taylor 39.2
Taylor expanded around inf 39.2
Applied simplify 0
Applied simplify 0
Time bar (total: 52.8s) Debug log
Please include this information when filing a bug report:
herbie shell --seed '#(3283856077 3183919125 3399458751 396155847 3688194147 1862413033)'
(FPCore (a b c)
:name "quadp (p42, positive)"
:target
(if (< b 0) (/ (+ (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)) (/ c (* a (/ (- (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)))))
(/ (+ (- b) (sqrt (- (sqr b) (* 4 (* a c))))) (* 2 a)))