



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 36.0 |
|---|---|
| Comparison | 23.5 |
| Herbie | 7.2 |
if b < -5.293945995304942e+79Initial program 58.6
rmApplied flip-- 58.6
Applied simplify 32.7
rmApplied add-cube-cbrt 32.8
Applied taylor 16.0
Taylor expanded around -inf 16.0
Applied simplify 1.0
Applied simplify 1.0
if -5.293945995304942e+79 < b < -1.0727263117073153e-25Initial program 46.8
rmApplied flip-- 46.9
Applied simplify 15.1
if -1.0727263117073153e-25 < b < -4.004408243624222e-85Initial program 60.5
Applied taylor 32.6
Taylor expanded around -inf 32.6
Applied simplify 0
Applied simplify 0
if -4.004408243624222e-85 < b < 7.666985785588564e+91Initial program 13.0
rmApplied div-inv 13.1
if 7.666985785588564e+91 < b Initial program 45.0
Applied taylor 11.5
Taylor expanded around inf 11.5
Applied simplify 0.0
Applied simplify 0.0
Time bar (total: 26.9s) Debug logProfile
Please include this information when filing a bug report:
herbie shell --seed '#(1066372953 114334025 411438303 1288252006 2962405338 2829794477)'
(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)))