



Bits error versus wj




Bits error versus x
| Original | 13.4 |
|---|---|
| Target | 12.7 |
| Herbie | 0.7 |
if (- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))) < 3.199444136475613e-21Initial program 17.8
Taylor expanded around 0 0.7
Simplified0.7
if 3.199444136475613e-21 < (- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))) Initial program 2.8
rmApplied div-sub2.8
Simplified0.8
Final simplification0.7
Time bar (total: 27.3s)Debug logProfile
herbie shell --seed 2018219 +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))))))