



Bits error versus wj




Bits error versus x
| Original | 13.3 |
|---|---|
| Target | 12.7 |
| Herbie | 0.8 |
if wj < 4.663236460460694e-09Initial program 13.0
Taylor expanded around 0 0.8
Simplified0.8
if 4.663236460460694e-09 < wj Initial program 24.7
rmApplied div-sub24.7
Simplified2.5
rmApplied distribute-rgt1-in2.5
Applied associate-/r*2.5
Final simplification0.8
Time bar (total: 56.7s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 2.0 | 0.8 | 0.3 | 1.7 | 68.7% |
herbie shell --seed 2018285 +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))))))