



Bits error versus x
| Original | 39.8 |
|---|---|
| Target | 39.0 |
| Herbie | 0.2 |
if (* (+ (* 1/12 (pow x 2)) (+ 1 (* 1/3 x))) (+ (* 1/36 (pow x 2)) (+ 1 (* 1/6 x)))) < 1.0285471815570788Initial program 60.0
Taylor expanded around 0 0.4
rmApplied add-cube-cbrt0.4
Taylor expanded around 0 0.4
Taylor expanded around 0 0.4
if 1.0285471815570788 < (* (+ (* 1/12 (pow x 2)) (+ 1 (* 1/3 x))) (+ (* 1/36 (pow x 2)) (+ 1 (* 1/6 x)))) Initial program 0.0
rmApplied div-sub0.0
Time bar (total: 29.8s)Debug logProfile
herbie shell --seed '#(1071852389 864846987 1238109217 3425890003 4124793586 650694553)'
(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))