



Bits error versus x
| Original | 38.4 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
if x < 9.377473054578385e-05Initial program 58.7
Taylor expanded around 0 0.3
Simplified0.3
if 9.377473054578385e-05 < x Initial program 0.1
Final simplification0.2
herbie shell --seed 2019088
(FPCore (x)
:name "ln(1 + x)"
:herbie-target
(if (== (+ 1 x) 1) x (/ (* x (log (+ 1 x))) (- (+ 1 x) 1)))
(log (+ 1 x)))