



Bits error versus x
Results
| Original | 40.1 |
|---|---|
| Target | 39.3 |
| Herbie | 0.0 |
Initial program 40.1
Initial simplification0.0
Taylor expanded around inf 40.1
Simplified0.0
Final simplification0.0
Time bar (total: 5.3s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.0 | 0.0 | 0.0 | 0.0 | 0% |
herbie shell --seed 2018263 +o rules:numerics
(FPCore (x)
:name "Kahan's exp quotient"
:herbie-target
(if (and (< x 1) (> x -1)) (/ (- (exp x) 1) (log (exp x))) (/ (- (exp x) 1) x))
(/ (- (exp x) 1) x))