首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Written in assembly code using random number generation algorithm: program mainl...

Written in assembly code using random number generation algorithm: program mainl...

  • 资源大小:2.50 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 汇编语言 others

资 源 简 介

用汇编代码写的随机数生成算法: 程序主要由八部分组成。主程序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
VIP VIP
0.177399s