



Bits error versus wj




Bits error versus x
| Original | 13.5 |
|---|---|
| Target | 12.9 |
| Herbie | 1.5 |
if wj < -8.76421065063732e-09Initial program 4.5
rmApplied add-sqr-sqrt4.8
Applied fma-def4.8
if -8.76421065063732e-09 < wj Initial program 13.7
Taylor expanded around 0 1.4
Simplified1.5
Final simplification1.5
Time bar (total: 36.5s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 2.2 | 1.5 | 0.3 | 1.9 | 35.2% |
herbie shell --seed 2018354 +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))))))