



Bits error versus x
Results
| Original | 39.5 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
if (log (+ 1 x)) < 3.2005995290826364e-07Initial program 59.2
Taylor expanded around 0 0.2
Simplified0.2
if 3.2005995290826364e-07 < (log (+ 1 x)) Initial program 0.2
Final simplification0.2
Time bar (total: 9.8s)Debug logProfile
herbie shell --seed 2018216
(FPCore (x)
:name "ln(1 + x)"
:herbie-target
(if (== (+ 1 x) 1) x (/ (* x (log (+ 1 x))) (- (+ 1 x) 1)))
(log (+ 1 x)))