



Bits error versus x
Results
| Original | 40.1 |
|---|---|
| Target | 39.2 |
| Herbie | 0.1 |
Initial program 40.1
Applied simplify0.0
rmApplied log1p-expm1-u0.1
Time bar (total: 12.8s)Debug logProfile
herbie shell --seed 2018206 +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))