



Bits error versus x
Results
| Original | 40.3 |
|---|---|
| Target | 39.5 |
| Herbie | 0.4 |
if x < -0.00015128661694489777Initial program 0.1
Taylor expanded around -inf 0.1
if -0.00015128661694489777 < x Initial program 60.0
Taylor expanded around 0 0.5
Simplified0.5
Final simplification0.4
Time bar (total: 44.5s)Debug logProfile
herbie shell --seed 2018251
(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))