



Bits error versus x
Results
| Original | 40.2 |
|---|---|
| Target | 39.3 |
| Herbie | 0.3 |
if x < -0.00011297721665203655Initial program 0.1
rmApplied add-sqr-sqrt0.1
Applied difference-of-sqr-10.1
if -0.00011297721665203655 < x Initial program 60.1
Taylor expanded around 0 0.4
Final simplification0.3
Time bar (total: 19.3s)Debug logProfile
herbie shell --seed 2018252
(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))