



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 38.1 |
|---|---|
| Comparison | 26.0 |
| Herbie | 6.6 |
if b < -9.534865642779829e+39Initial program 40.2
Applied taylor 10.5
Taylor expanded around -inf 10.5
Applied simplify 0.0
Applied simplify 0.0
if -9.534865642779829e+39 < b < 7.649843461055766e-75Initial program 13.5
rmApplied div-inv 13.6
if 7.649843461055766e-75 < b Initial program 58.7
rmApplied flip-+ 58.7
Applied simplify 34.5
rmApplied *-un-lft-identity 34.5
Applied times-frac 33.9
Applied taylor 14.6
Taylor expanded around inf 14.6
Applied simplify 14.5
Applied simplify 3.8
Time bar (total: 24.4s) Debug logProfile
Please include this information when filing a bug report:
herbie shell --seed '#(1065003094 2074156664 2352254222 753858891 3745550101 3374585842)'
(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)))