



Bits error versus a




Bits error versus b




Bits error versus c
Results
| Original | 33.6 |
|---|---|
| Target | 20.7 |
| Herbie | 10.2 |
if b < -4.7674064586233796e+73Initial program 40.1
Initial simplification40.1
Taylor expanded around -inf 5.0
if -4.7674064586233796e+73 < b < 1.3499074567035673e-73Initial program 13.0
Initial simplification12.9
rmApplied clear-num13.0
if 1.3499074567035673e-73 < b Initial program 52.7
Initial simplification52.7
Taylor expanded around inf 9.4
Simplified9.4
Final simplification10.2
Time bar (total: 38.9s)Debug logProfile
herbie shell --seed 2018273
(FPCore (a b c)
:name "The quadratic formula (r1)"
: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)))