



Bits error versus x
Results
| Original | 60.9 |
|---|---|
| Target | 0.3 |
| Herbie | 0.4 |
Initial program 60.9
Taylor expanded around 0 0.4
Simplified0.4
rmApplied associate--l-0.4
Final simplification0.4
herbie shell --seed 2019026
(FPCore (x)
:name "qlog (example 3.10)"
:pre (and (< -1 x) (< x 1))
:herbie-target
(- (+ (+ (+ 1 x) (/ (* x x) 2)) (* 5/12 (pow x 3))))
(/ (log (- 1 x)) (log (+ 1 x))))