



Bits error versus x
Results
| Original | 38.7 |
|---|---|
| Target | 0.3 |
| Herbie | 0.0 |
Initial program 38.7
Simplified0.0
Final simplification0.0
herbie shell --seed 2019016 +o rules:numerics
(FPCore (x)
:name "ln(1 + x)"
:herbie-target
(if (== (+ 1 x) 1) x (/ (* x (log (+ 1 x))) (- (+ 1 x) 1)))
(log (+ 1 x)))
Time bar (total: 3.4s)Debug log
| 385× | (pre true 80) |
| 128× | (body nan 80) |
| 81× | (body real 80) |
| 75× | (body real 1280) |
| 54× | (body real 640) |
| 32× | (body real 320) |
| 15× | (body real 160) |
| 2.0ms | (log (+ 1 x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 0 expressions with local error:
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b
| 10752× | (pre true 80) |
| 2849× | (body real 80) |
| 2752× | (body nan 80) |
| 2248× | (body real 1280) |
| 1693× | (body real 640) |
| 793× | (body real 320) |
| 417× | (body real 160) |