



Bits error versus wj




Bits error versus x
| Original | 13.5 |
|---|---|
| Target | 12.9 |
| Herbie | 0.3 |
if (- wj (- (/ wj (+ wj 1)) (* (/ 1 (* (cbrt (exp wj)) (cbrt (exp wj)))) (/ (/ x (+ 1 wj)) (cbrt (exp wj)))))) < 7.565976676171613e-13Initial program 17.7
rmApplied div-sub17.7
Applied simplify17.7
Applied simplify17.7
Taylor expanded around 0 17.9
Applied simplify0.2
if 7.565976676171613e-13 < (- wj (- (/ wj (+ wj 1)) (* (/ 1 (* (cbrt (exp wj)) (cbrt (exp wj)))) (/ (/ x (+ 1 wj)) (cbrt (exp wj)))))) Initial program 2.6
rmApplied div-sub2.6
Applied simplify0.4
Applied simplify0.4
rmApplied add-cube-cbrt0.5
Applied *-un-lft-identity0.5
Applied times-frac0.5
Time bar (total: 22.0s)Debug logProfile
herbie shell --seed '#(1070131407 1246090267 3027482374 2150728003 2026520792 2347815650)'
(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))))))