



Bits error versus a




Bits error versus x
| Original | 29.8 |
|---|---|
| Target | 0.2 |
| Herbie | 2.9 |
if (* a x) < -7.255767592865645e-07Initial program 0.1
rmApplied add-cbrt-cube0.1
Applied simplify0.1
if -7.255767592865645e-07 < (* a x) Initial program 44.7
Taylor expanded around 0 13.9
Taylor expanded around inf 8.1
Applied simplify0.5
pow expressions.Applied simplify2.9
Time bar (total: 21.4s)Debug log
herbie shell --seed '#(633950927 2092594946 1442981 2827247922 2812758452 390991499)'
(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))