



Bits error versus a




Bits error versus x
Results
| Original | 29.6 |
|---|---|
| Target | 0.2 |
| Herbie | 0.6 |
if (* a x) < -173.7775306990116Initial program 0
rmApplied add-log-exp0
if -173.7775306990116 < (* a x) Initial program 43.9
Taylor expanded around 0 14.2
Simplified0.9
Final simplification0.6
Time bar (total: 12.4s)Debug logProfile
herbie shell --seed 2018221
(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))