



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 34.4 |
|---|---|
| Target | 21.5 |
| Herbie | 5.7 |
if b < -1.813301145786028e+155Initial program 62.9
Taylor expanded around -inf 38.3
Applied simplify0
Applied simplify0
if -1.813301145786028e+155 < b < 2.4520315042250063e-201Initial program 31.0
rmApplied div-inv31.1
rmApplied flip--31.3
Applied associate-*l/31.3
Applied simplify9.4
Taylor expanded around 0 9.3
Applied simplify9.3
if 2.4520315042250063e-201 < b < 1.7256352831247111e+65Initial program 8.2
rmApplied clear-num8.4
if 1.7256352831247111e+65 < b Initial program 41.7
Taylor expanded around inf 12.2
Applied simplify0.0
Applied simplify0.0
pow expressions.Time bar (total: 51.4s)Debug log
herbie shell --seed '#(151349756 408087815 228312487 2538703040 1980610373 1250971417)'
(FPCore (a b c)
:name "quadm (p42, negative)"
:herbie-target
(if (< b 0) (/ c (* a (/ (+ (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)))) (/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)))
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)))