



Bits error versus a




Bits error versus x
Results
| Original | 29.4 |
|---|---|
| Target | 0.2 |
| Herbie | 0.5 |
if (* a x) < -3.240954335863827Initial program 0
Taylor expanded around inf 0
if -3.240954335863827 < (* a x) Initial program 43.9
Taylor expanded around 0 14.1
Simplified0.7
Final simplification0.5
Time bar (total: 19.5s)Debug logProfile
herbie shell --seed 2018278
(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))