论文部分内容阅读
本文介绍一种新的产生随机数的方法。该法基于同余法并结合了逻辑移位对整型数符号位的影响。在MC68000和IBM—PC等微型计算机上用FORTRAN程序加以实现。专用程序的测试结果表明,产生的伪随机数序列具有较一般方法更长的周期、更快的速度和较好的统计特性。
This article describes a new way to generate random numbers. The law is based on the congruence method and combines the effect of logical shifts on the sign bits of integer numbers. Implemented using the FORTRAN program on microcomputers such as the MC68000 and IBM-PC. The test result of the special program shows that the generated pseudo-random number sequence has longer period, faster speed and better statistics than the general method.