



Bits error versus a




Bits error versus b




Bits error versus c
Results
| Original | 34.0 |
|---|---|
| Target | 21.2 |
| Herbie | 10.1 |
if b < -6.358942485269841e+112Initial program 48.3
Initial simplification48.3
Taylor expanded around -inf 3.0
if -6.358942485269841e+112 < b < 5.6739031961074284e-89Initial program 12.4
Initial simplification12.4
Taylor expanded around inf 12.4
if 5.6739031961074284e-89 < b Initial program 52.2
Initial simplification52.2
Taylor expanded around inf 10.1
Simplified10.1
Final simplification10.1
Time bar (total: 37.6s)Debug logProfile
herbie shell --seed 2018256
(FPCore (a b c)
:name "quadp (p42, positive)"
:herbie-target
(if (< b 0) (/ (+ (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (/ c (* a (/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)))))
(/ (+ (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)))