



Bits error versus a




Bits error versus x
Results
| Original | 29.4 |
|---|---|
| Target | 0.2 |
| Herbie | 0.5 |
if (* a x) < -1.3317418219932062Initial program 0.0
Initial simplification0.0
rmApplied add-cube-cbrt0.0
if -1.3317418219932062 < (* a x) Initial program 44.0
Initial simplification44.0
Taylor expanded around 0 14.2
Simplified0.7
Final simplification0.5
Time bar (total: 13.1s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 20.9 | 0.5 | 0.1 | 20.8 | 97.9% |
herbie shell --seed 2018339
(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))