



Bits error versus a




Bits error versus x
| Original | 29.4 |
|---|---|
| Target | 0.2 |
| Herbie | 0.0 |
Initial program 29.4
Applied simplify0.0
Time bar (total: 3.1s)Debug logProfile
herbie shell --seed '#(1072330854 3074818769 591214268 3603999196 3863745332 3332387116)' +o rules:numerics
(FPCore (a x)
:name "expax (section 3.5)"
:herbie-target
(if (< (fabs (* a x)) 1/10) (* (* a x) (+ 1 (+ (/ (* a x) 2) (/ (pow (* a x) 2) 6)))) (- (exp (* a x)) 1))
(- (exp (* a x)) 1))