



Bits error versus x
Results
| Original | 40.1 |
|---|---|
| Target | 39.7 |
| Herbie | 0.1 |
if (/ 1 (- (+ (* 1/6 (pow x 3)) x) (* 1/2 (pow x 2)))) < -147.5620355352164Initial program 61.8
Taylor expanded around 0 0.1
if -147.5620355352164 < (/ 1 (- (+ (* 1/6 (pow x 3)) x) (* 1/2 (pow x 2)))) < 582800.4550585768Initial program 1.3
rmApplied clear-num1.3
Applied simplify0.2
if 582800.4550585768 < (/ 1 (- (+ (* 1/6 (pow x 3)) x) (* 1/2 (pow x 2)))) Initial program 59.5
rmApplied clear-num59.5
Applied simplify59.4
Taylor expanded around 0 0.0
Time bar (total: 35.7s)Debug logProfile
herbie shell --seed 2018193
(FPCore (x)
:name "expq2 (section 3.11)"
:herbie-target
(/ 1 (- 1 (exp (- x))))
(/ (exp x) (- (exp x) 1)))