



Bits error versus wj




Bits error versus x
| Original | 13.8 |
|---|---|
| Target | 13.1 |
| Herbie | 0.8 |
if (- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))) < 1.5832947782603862e-21Initial program 18.0
Taylor expanded around 0 0.7
Simplified0.8
if 1.5832947782603862e-21 < (- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))) Initial program 3.4
rmApplied distribute-rgt1-in3.4
Applied *-un-lft-identity3.4
Applied times-frac3.4
Simplified1.0
Final simplification0.8
herbie shell --seed 2019068
(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))))))