New PRNG for calculators
|
06-08-2024, 02:51 AM
Post: #11
|
|||
|
|||
RE: New PRNG for calculators
The function as written Frac(exp(exp(exp(x))) is uniformly distributed mod 1. So the OP's pRNG should work, except for rounding and discretization errors (All pRNGs have this problem.).
Frac(Exp(x)) is also uniformly distributed, Frac(Ln(x)) isn't. I found a paper proving this result and giving criteria for the uniform distribution of some types of functions. https://dwc.knaw.nl/DL/publications/PU00018885.pdf Daniel Shanks: "ln( ln( ln ( x ) ) ) approaches infinity with great dignity." (It's a comment about the inverse function. I've only seen ln(ln(ln(ln(x)))) in practice.) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)