



Bits error versus wj




Bits error versus x
| Original | 13.5 |
|---|---|
| Target | 12.9 |
| Herbie | 0.5 |
if (- wj (* (log (exp (/ 1 (+ wj 1)))) (- wj (/ x (exp wj))))) < 7.565976676171613e-13Initial program 17.7
rmApplied distribute-rgt1-in17.8
Applied *-un-lft-identity17.8
Applied times-frac17.7
Applied simplify17.7
rmApplied add-log-exp17.8
Taylor expanded around 0 18.3
Applied simplify0.6
if 7.565976676171613e-13 < (- wj (* (log (exp (/ 1 (+ wj 1)))) (- wj (/ x (exp wj))))) Initial program 2.6
rmApplied distribute-rgt1-in2.6
Applied *-un-lft-identity2.6
Applied times-frac2.6
Applied simplify0.4
rmApplied add-log-exp0.5
Time bar (total: 22.0s)Debug logProfile
herbie shell --seed '#(1070131407 1246090267 3027482374 2150728003 2026520792 2347815650)' +o rules:numerics
(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))))))