



Bits error versus a




Bits error versus x
| Original | 38.0 |
|---|---|
| Comparison | 15.9 |
| Herbie | 9.8 |
if (* a x) < -1.1501639825495647e-13Initial program 0.8
rmApplied flip-- 0.8
rmApplied add-exp-log 0.8
Applied simplify 0.8
if -1.1501639825495647e-13 < (* a x) Initial program 51.5
rmApplied flip-- 51.5
Applied taylor 47.5
Taylor expanded around 0 47.5
Applied simplify 11.5
Applied taylor 22.4
Taylor expanded around inf 22.4
Applied simplify 13.1
Total time: 1.4m Debug log
Please include this information when filing a bug report:
herbie --seed '#(1964145002 3596466598 2249905545 2281660312 2216507096 1439778181)'
(FPCore (a x)
:name "NMSE section 3.5"
:target
(if (< (fabs (* a x)) 1/10) (* (* a x) (+ 1 (+ (/ (* a x) 2) (/ (sqr (* a x)) 6)))) (- (exp (* a x)) 1))
(- (exp (* a x)) 1))