



Bits error versus x
Results
| Original | 39.7 |
|---|---|
| Target | 39.0 |
| Herbie | 0.3 |
if x < -0.00011216163963686691Initial program 0.1
Initial simplification0.1
rmApplied flip3-+0.1
if -0.00011216163963686691 < x Initial program 60.2
Initial simplification60.2
Taylor expanded around 0 0.4
rmApplied associate-+r+0.4
Final simplification0.3
Time bar (total: 10.9s)Debug logProfile
herbie shell --seed 2018346
(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))