



Bits error versus wj




Bits error versus x
| Original | 13.9 |
|---|---|
| Target | 13.1 |
| Herbie | 0.7 |
if (- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))) < 9.296615696058708e-20Initial program 18.2
Taylor expanded around 0 0.6
Simplified0.6
if 9.296615696058708e-20 < (- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))) Initial program 3.5
rmApplied distribute-rgt1-in3.5
Applied *-un-lft-identity3.5
Applied times-frac3.5
Simplified0.9
Final simplification0.7
herbie shell --seed 2019093
(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))))))