



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 35.4 |
|---|---|
| Comparison | 22.8 |
| Herbie | 6.9 |
if b < -9.612559777483023e+27Initial program 58.1
rmApplied flip-- 58.2
Applied simplify 31.5
rmApplied *-un-lft-identity 31.5
Applied times-frac 31.3
Applied taylor 15.2
Taylor expanded around -inf 15.2
Applied simplify 12.4
Applied simplify 2.4
if -9.612559777483023e+27 < b < -1.4807562139587436e-235Initial program 30.7
rmApplied flip-- 30.9
Applied simplify 17.5
rmApplied *-un-lft-identity 17.5
Applied times-frac 14.1
if -1.4807562139587436e-235 < b < 2.0227608047655974e+110Initial program 10.2
if 2.0227608047655974e+110 < b Initial program 48.7
Applied taylor 13.0
Taylor expanded around inf 13.0
Applied simplify 0.0
Applied simplify 0.0
Time bar (total: 22.3s) Debug logProfile
Please include this information when filing a bug report:
herbie shell --seed '#(1067773715 2765207660 218871639 3688798924 2755544087 2054563380)'
(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)))