



Bits error versus x
| Original | 39.1 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
if x < 0.00012080215070581988Initial program 59.0
Taylor expanded around 0 0.2
Simplified0.2
if 0.00012080215070581988 < x Initial program 0.1
Final simplification0.1
herbie shell --seed 2019051
(FPCore (x)
:name "ln(1 + x)"
:herbie-target
(if (== (+ 1 x) 1) x (/ (* x (log (+ 1 x))) (- (+ 1 x) 1)))
(log (+ 1 x)))