文件名称:random
介绍说明--下载内容均来自于网络,请自行研究使用
用汇编代码写的随机数生成算法:
程序主要由八部分组成。主程序main 从键盘输入的10进制数的子程序redigital;产生随机数,并输出随机性评估结果的子程序random;评估一个随机数随机性的子程序evaluAnum;用蒙特卡罗法评估随机性的calpi将数以十六进制输出的子程序printtohex;将数用十进制打印出来的子程序printaxd;输出换行回车的子程序printrn。-Written in assembly code using random number generation algorithm: program mainly by the eight parts. The main program main from the keyboard input 10 the number of decimal subroutine redigital generate random numbers, and output the results of the assessment of the subroutine random random assessment of a random number of random subroutine evaluAnum with the Monte Carlo Method to Evaluate the random of calpi will be hundreds of subroutines hexadecimal output printtohex will be hundreds of subroutines with the decimal print out printaxd the subroutine output carriage return line feed printrn.
程序主要由八部分组成。主程序main 从键盘输入的10进制数的子程序redigital;产生随机数,并输出随机性评估结果的子程序random;评估一个随机数随机性的子程序evaluAnum;用蒙特卡罗法评估随机性的calpi将数以十六进制输出的子程序printtohex;将数用十进制打印出来的子程序printaxd;输出换行回车的子程序printrn。-Written in assembly code using random number generation algorithm: program mainly by the eight parts. The main program main from the keyboard input 10 the number of decimal subroutine redigital generate random numbers, and output the results of the assessment of the subroutine random random assessment of a random number of random subroutine evaluAnum with the Monte Carlo Method to Evaluate the random of calpi will be hundreds of subroutines hexadecimal output printtohex will be hundreds of subroutines with the decimal print out printaxd the subroutine output carriage return line feed printrn.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
random.asm