



Bits error versus x
| Original | 38.9 |
|---|---|
| Target | 0.3 |
| Herbie | 0.0 |
Initial program 38.9
Simplified0.0
Final simplification0.0
herbie shell --seed 2019090 +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)))