



Bits error versus a




Bits error versus b




Bits error versus c
Results
| Original | 33.4 |
|---|---|
| Target | 20.2 |
| Herbie | 9.9 |
if b < -1.522272609891281e+91Initial program 42.7
Initial simplification42.7
Taylor expanded around -inf 4.1
if -1.522272609891281e+91 < b < 2.9396032746133623e-65Initial program 13.3
Initial simplification13.3
Taylor expanded around inf 13.3
if 2.9396032746133623e-65 < b Initial program 52.6
Initial simplification52.6
Taylor expanded around inf 8.4
Simplified8.4
Final simplification9.9
Time bar (total: 37.9s)Debug logProfile
herbie shell --seed 2018348
(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)))