



Bits error versus a




Bits error versus x
| Original | 33.2 |
|---|---|
| Comparison | 6.0 |
| Herbie | 1.1 |
if (* a x) < -3.4479820948686526e-05Initial program 0.0
rmApplied add-cube-cbrt 0.1
rmApplied add-log-exp 0.1
Applied simplify 0.1
if -3.4479820948686526e-05 < (* a x) Initial program 47.4
rmApplied add-cube-cbrt 47.4
Applied taylor 19.1
Taylor expanded around 0 19.1
Applied simplify 15.1
rmApplied square-mult 15.1
Applied associate-*l* 11.5
Applied simplify 1.5
Total time: 57.8s Debug log
Please include this information when filing a bug report:
herbie --seed '#(1978528943 2525562504 2475963685 4220017964 1331650906 2560157971)'
(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))