newRPL: Alpha demo 0.9 released [UPDATED 20171025]

08262017, 08:45 PM
Post: #65




RE: newRPL: Alpha demo 0.9 released [UPDATED 20170824]
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 highlyunbiased algorithms are available, I doubt there's anything that will produce 2000 digits at one go. You might actually want two different commands, one lowquality and one highquality. Called perhaps RAND and RANDPREC. 

« Next Oldest  Next Newest »

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