



Bits error versus wj




Bits error versus x
| Original | 13.9 |
|---|---|
| Target | 13.3 |
| Herbie | 1.0 |
if wj < 8.627550515058762e-09Initial program 13.6
Taylor expanded around 0 1.0
Simplified1.0
if 8.627550515058762e-09 < wj Initial program 23.4
rmApplied distribute-rgt1-in23.6
Applied *-un-lft-identity23.6
Applied times-frac23.4
Simplified2.5
Final simplification1.0
Time bar (total: 49.3s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 2.1 | 1.0 | 0.3 | 1.8 | 60.2% |
herbie shell --seed 2018353 +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))))))