



Bits error versus wj




Bits error versus x
| Original | 13.5 |
|---|---|
| Target | 13.0 |
| Herbie | 0.9 |
if wj < 4.47640317399307113e-9Initial program 13.2
Simplified13.2
Taylor expanded around 0 0.8
Simplified0.9
if 4.47640317399307113e-9 < wj Initial program 24.6
Simplified3.1
rmApplied div-inv3.1
Simplified3.1
Final simplification0.9
herbie shell --seed 2020191
(FPCore (wj x)
:name "Jmat.Real.lambertw, newton loop step"
:precision binary64
:herbie-target
(- wj (- (/ wj (+ wj 1.0)) (/ x (+ (exp wj) (* wj (exp wj))))))
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))