



Bits error versus a




Bits error versus x
| Original | 29.6 |
|---|---|
| Comparison | 0.4 |
| Herbie | 0.3 |
if (* a x) < -1.863851543361235e-12Initial program 0.7
rmApplied add-sqr-sqrt 0.8
Applied difference-of-sqr-1 0.8
if -1.863851543361235e-12 < (* a x) Initial program 45.0
rmApplied add-sqr-sqrt 45.0
Applied difference-of-sqr-1 45.0
Applied taylor 45.3
Taylor expanded around 0 45.3
Applied simplify 0.0
Applied simplify 0.0
Time bar (total: 11.9s) Debug logProfile
Please include this information when filing a bug report:
herbie shell --seed '#(1066500295 745726447 3908002351 725592315 4114972361 2368915013)'
(FPCore (a x)
:name "expax (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))