Re: Mersenne Twister
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 22, 2001
- 378 views
rforno writes: > Even it may be preferable to write (y + #80000000) / #100000000 * range, > to protect against inaccuracies of the division of range by 2^32. > Maybe Rob has something to say about it. I'm not sure what you are asking, but it's my understanding that calculations on large integer values (larger than Euphoria's 31-bit internal representation) should work out exactly, as long you are below the 15 (or so) decimal digit accuracy of 64-bit floating-point numbers. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com