



Bits error versus a




Bits error versus b




Bits error versus c
Results
| Original | 33.1 |
|---|---|
| Target | 20.1 |
| Herbie | 9.8 |
if b < -6.606286567414996e-28Initial program 54.7
Taylor expanded around -inf 45.1
Applied simplify6.8
if -6.606286567414996e-28 < b < 9.633104463257503e+103Initial program 13.7
rmApplied clear-num13.8
if 9.633104463257503e+103 < b Initial program 45.8
Taylor expanded around inf 3.7
Applied simplify3.7
Applied simplify9.8
Time bar (total: 2.4m)Debug logProfile
herbie shell --seed 2018167 +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)))