



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 34.8 |
|---|---|
| Comparison | 22.1 |
| Herbie | 5.8 |
if b < -1.7321058520772784e+67Initial program 41.8
Applied taylor 0
Taylor expanded around -inf 0
Applied simplify 0
if -1.7321058520772784e+67 < b < 2.4619882133710072e-287Initial program 10.3
rmApplied div-inv 10.4
if 2.4619882133710072e-287 < b < 2.829973829663237e+105Initial program 33.6
rmApplied flip-+ 33.7
Applied simplify 16.6
rmApplied *-un-lft-identity 16.6
Applied times-frac 16.6
Applied times-frac 16.6
Applied simplify 16.6
Applied simplify 8.7
if 2.829973829663237e+105 < b Initial program 59.4
rmApplied flip-+ 59.5
Applied simplify 33.6
Applied taylor 15.7
Taylor expanded around inf 15.7
Applied simplify 1.4
Applied simplify 1.4
Total time: 1.0m Debug log
Please include this information when filing a bug report:
herbie --seed '#(666576781 4098168481 2738904911 2989985146 2618005959 628145014)'
(FPCore (a b c)
:name "NMSE 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)))