



Bits error versus x
Results
| Original | 39.1 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
if x < 0.0001301429862749164Initial program 58.8
Initial simplification58.8
Taylor expanded around 0 0.3
Simplified0.3
if 0.0001301429862749164 < x Initial program 0.1
Initial simplification0.1
Final simplification0.2
Time bar (total: 14.5s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 20.7 | 0.2 | 0.1 | 20.7 | 99.2% |
herbie shell --seed 2018352
(FPCore (x)
:name "ln(1 + x)"
:herbie-target
(if (== (+ 1 x) 1) x (/ (* x (log (+ 1 x))) (- (+ 1 x) 1)))
(log (+ 1 x)))