



Bits error versus x
Results
| Original | 40.7 |
|---|---|
| Target | 40.2 |
| Herbie | 0.9 |
if (/ (exp x) (- (exp x) 1)) < 1.0Initial program 1.3
Taylor expanded around -inf 1.3
if 1.0 < (/ (exp x) (- (exp x) 1)) Initial program 61.1
Taylor expanded around 0 0.8
Final simplification0.9
Time bar (total: 15.9s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 20.8 | 0.9 | 0.4 | 20.4 | 97.3% |
herbie shell --seed 2018290
(FPCore (x)
:name "expq2 (section 3.11)"
:herbie-target
(/ 1 (- 1 (exp (- x))))
(/ (exp x) (- (exp x) 1)))