



Bits error versus x
Results
| Original | 38.8 |
|---|---|
| Target | 0.3 |
| Herbie | 0.2 |
if x < 0.00011313470732263942Initial program 58.9
Taylor expanded around 0 0.3
Simplified0.3
if 0.00011313470732263942 < x Initial program 0.1
Final simplification0.2
Time bar (total: 15.8s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 21.0 | 0.2 | 0.0 | 21.0 | 99.3% |
herbie shell --seed 2018263
(FPCore (x)
:name "ln(1 + x)"
:herbie-target
(if (== (+ 1 x) 1) x (/ (* x (log (+ 1 x))) (- (+ 1 x) 1)))
(log (+ 1 x)))