



Bits error versus wj




Bits error versus x
| Original | 13.3 |
|---|---|
| Target | 12.7 |
| Herbie | 2.2 |
Initial program 13.3
Taylor expanded around 0 2.2
Simplified2.2
Final simplification2.2
herbie shell --seed 2019091
(FPCore (wj x)
:name "Jmat.Real.lambertw, newton loop step"
:herbie-target
(- wj (- (/ wj (+ wj 1)) (/ x (+ (exp wj) (* wj (exp wj))))))
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))