



Bits error versus a




Bits error versus b




Bits error versus c
| Original | 33.7 |
|---|---|
| Target | 20.6 |
| Herbie | 10.3 |
if b < -2.6816363223264662e-49Initial program 53.5
Taylor expanded around -inf 46.7
Applied simplify7.8
if -2.6816363223264662e-49 < b < 8.803478569016489e+75Initial program 14.3
rmApplied clear-num14.4
if 8.803478569016489e+75 < b Initial program 40.4
Taylor expanded around inf 5.3
Applied simplify5.3
Applied simplify10.3
Time bar (total: 2.6m)Debug logProfile
herbie shell --seed '#(1072840222 1305617769 1692503039 1353360431 4178980589 1488672652)' +o rules:numerics
(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)))