



Bits error versus x
Results
| Original | 40.2 |
|---|---|
| Target | 39.4 |
| Herbie | 0.2 |
if (+ (* 1/6 (pow x 2)) (+ 1 (* 1/2 x))) < 1.005934458562277Initial program 60.3
Taylor expanded around 0 0.3
if 1.005934458562277 < (+ (* 1/6 (pow x 2)) (+ 1 (* 1/2 x))) Initial program 0.0
rmApplied div-sub0.0
Time bar (total: 44.3s)Debug logProfile
herbie shell --seed 2018166
(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))