Closed cahya-wirawan closed 2 months ago
The power in the formula is n^(-eps) so it should be 65536^(1-x), and this is what I get:
And yes, estimate_s
is unstable.
Just pushed a fix. would you like to try again?
yes, may bad, I overlook -eps. I tried the fix, it runs now without overflow so far. However, the formula is in my opinion unstable because k is undefined for s==1.0 and s==0. k is also huge or overflow for -0.5<s<0.
Hi,
A plot of the formula *k = (eps 2.0_f32.powf(tau) / (1.0 - n.powf(-eps))).powf(1.0 / s)** using wolframalpha show its stability: