



Bits error versus x
Results
| Original | 61.0 |
|---|---|
| Target | 0.3 |
| Herbie | 0.7 |
if (/ (log (- 1 x)) (log (+ 1 x))) < -0.9317643058325272Initial program 13.3
if -0.9317643058325272 < (/ (log (- 1 x)) (log (+ 1 x))) Initial program 63.5
Taylor expanded around 0 0.1
Simplified0.1
Final simplification0.7
Time bar (total: 22.3s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.4 | 0.7 | 0.0 | 0.4 | -70.8% |
herbie shell --seed 2018340
(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))))