Post Reply 
newRPL: Alpha demo 0.9 released [UPDATED 2017-10-25]
08-26-2017, 08:45 PM
Post: #65
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-08-24]
Forgot this bit:

Quote:I'd have to get 16 digits out of the 18, which is 2 groups of 8 (reals internally store 8 digit groups). That means a random 2000 digit number would need 120 calls to this RNG. It better be fast!

It IS fast. Though I don't know what the speed would translate to on the calculator. My RPL implementation is slow, but of course as a native command it would be much faster.

For most everyday purposes (simulating dice, whatever) 16 digits is fine. The only applications I can think of in which one would need 32+ digit random numbers, you absolutely want the RNG to introduce as little bias as possible. This one does that, in spades. And while other highly-unbiased algorithms are available, I doubt there's anything that will produce 2000 digits at one go.

You might actually want two different commands, one low-quality and one high-quality. Called perhaps RAND and RANDPREC.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-08-24] - The Shadow - 08-26-2017 08:45 PM



User(s) browsing this thread: 5 Guest(s)