



Bits error versus x
Results
| Original | 40.2 |
|---|---|
| Target | 39.4 |
| Herbie | 0.0 |
Initial program 40.2
Initial simplification0.0
Final simplification0.0
Time bar (total: 4.1s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.0 | 0.0 | 0.0 | 0.0 | 0% |
herbie shell --seed 2018274 +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))