



Bits error versus x
| Original | 40.1 |
|---|---|
| Target | 39.2 |
| Herbie | 0.3 |
if x < -0.0001629869727625155Initial program 0.1
Taylor expanded around -inf 0.1
if -0.0001629869727625155 < x Initial program 60.0
Taylor expanded around 0 0.4
Simplified0.4
Final simplification0.3
herbie shell --seed 2019093
(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))