
Results
Herbie found 1 alternatives:
| Alternative | Accuracy | Speedup |
|---|
| Original | 38.7% |
|---|---|
| Target | 99.6% |
| Herbie | 100.0% |
Initial program 36.7%
log1p-def100.0%
Simplified100.0%
Final simplification100.0%
herbie shell --seed 2023166
(FPCore (x)
:name "ln(1 + x)"
:precision binary64
:herbie-target
(if (== (+ 1.0 x) 1.0) x (/ (* x (log (+ 1.0 x))) (- (+ 1.0 x) 1.0)))
(log (+ 1.0 x)))