



Bits error versus x
Results
| Original | 39.8 |
|---|---|
| Target | 39.0 |
| Herbie | 0.3 |
if x < -0.00021497298445128922Initial program 0.0
rmApplied div-sub0.1
if -0.00021497298445128922 < x Initial program 60.1
Taylor expanded around 0 0.5
Final simplification0.3
Time bar (total: 21.6s)Debug logProfile
herbie shell --seed 2018277
(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))