|
84736 packages online
|
|
|
|
dev/c/BestRandom.lha |
|
No screenshot available
|
|
*************************************************************************
This random number generator originally appeared in "Toward a Universal
Random Number Generator" by George Marsaglia and Arif Zaman.
Florida State University Report: FSU-SCRI-87-50 (1987)
It was later modified by F. James and published in "A Review of Pseudo-
random Number Generators"
THIS IS THE BEST KNOWN RANDOM NUMBER GENERATOR AVAILABLE.
(However, a newly discovered technique can yield
a period of 10^600. But that is still in the development stage.)
It passes ALL of the tests for random number generators and has a period
of 2^144, is completely portable (gives bit identical results on all
machines with at least 24-bit mantissas in the floating point
representation).
The algorithm is a combination of a Fibonacci sequence (with lags of 97
and 33, and operation "subtraction plus one, modulo one") and an
"arithmetic sequence" (using subtraction).
========================================================================
This C language version was written by Jim Butler, and was based on a
FORTRAN program posted by David LaSalle of Florida State University.
*************************************************************************
The Amiga 68k/PPC version comes with both, makefiles for 68k and PPC,
and test programs for both CPUs.
If the random number generator is working properly, the random numbers
as printed by the test program(s):
6533892.0 14220222.0 7275067.0
6172232.0 8354498.0 10633180.0
--
ARK, 30/May/2000
|
Contents of dev/c/BestRandom.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 879 1749 50.3% -lh5- 2235 May 30 2000 BestRandom/BestRandom.readme
[generic] 8681 13356 65.0% -lh5- 1923 May 30 2000 BestRandom/random
[generic] 1846 3729 49.5% -lh5- 8571 May 30 2000 BestRandom/RANDOM-C.DOC
[generic] 2063 4524 45.6% -lh5- b071 May 30 2000 BestRandom/RANDOM.C
[generic] 13810 29135 47.4% -lh5- 1c78 May 30 2000 BestRandom/random.elf
[generic] 395 831 47.5% -lh5- df11 May 30 2000 BestRandom/random.info
[generic] 145 219 66.2% -lh5- 2cf6 May 30 2000 BestRandom/SCOPTIONS
[generic] 103 181 56.9% -lh5- 3d88 May 30 2000 BestRandom/smakefile
[generic] 87 151 57.6% -lh5- 40ca May 30 2000 BestRandom/smakefile68k
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 9 files 28009 53875 52.0% May 31 2000
|
|
|
|
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |