



Bits error versus x
Results
| Original | 38.9 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
if x < 0.00012756475162532222Initial program 59.0
Initial simplification59.0
Taylor expanded around 0 0.2
Simplified0.2
if 0.00012756475162532222 < x Initial program 0.1
Initial simplification0.1
Final simplification0.1
Time bar (total: 7.3s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 20.9 | 0.1 | 0.0 | 20.8 | 99.6% |
herbie shell --seed 2018354
(FPCore (x)
:name "ln(1 + x)"
:herbie-target
(if (== (+ 1 x) 1) x (/ (* x (log (+ 1 x))) (- (+ 1 x) 1)))
(log (+ 1 x)))