



Bits error versus x
Results
| Original | 39.4 |
|---|---|
| Target | 38.7 |
| Herbie | 0.3 |
if x < -0.0002001703686491939Initial program 0.0
rmApplied div-sub0.0
if -0.0002001703686491939 < x Initial program 60.1
Taylor expanded around 0 0.5
Time bar (total: 24.3s)Debug logProfile
herbie shell --seed 2018214
(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))