



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 33.6 |
|---|---|
| Comparison | 20.9 |
| Herbie | 5.4 |
if b < -5.9693493062289544e+153Initial program 62.9
Applied taylor 38.1
Taylor expanded around -inf 38.1
Applied simplify 0
Applied simplify 0
if -5.9693493062289544e+153 < b < -2.5398543492506256e-241Initial program 35.7
rmApplied flip-- 35.8
Applied simplify 15.1
rmApplied *-un-lft-identity 15.1
Applied times-frac 15.1
Applied times-frac 15.1
Applied simplify 15.1
Applied simplify 6.8
if -2.5398543492506256e-241 < b < 3.474250069101817e+81Initial program 10.0
rmApplied associate-*r* 10.0
if 3.474250069101817e+81 < b Initial program 43.4
Applied taylor 0
Taylor expanded around inf 0
Applied simplify 0
Total time: 1.7m Debug log
Please include this information when filing a bug report:
herbie --seed '#(3988679808 1459547654 3220691203 2683071210 2813484737 3161418774)'
(FPCore (a b c)
:name "NMSE 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)))