文件名称:random
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.5kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用汇编代码写的随机数生成算法:
程序主要由八部分组成。主程序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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.