登录
首页 » 汇编语言 » Written in assembly code using random number generation algorithm: program mainl...

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

于 2022-08-13 发布 文件大小:2.50 kB
0 70
下载积分: 2 下载次数: 1

代码说明:

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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104269会员总数
  • 31今日下载