Documentation
¶
Index ¶
Constants ¶
View Source
const MaxRand = 16 // 声明一个具名整型常量
Variables ¶
This section is empty.
Functions ¶
func StatRandomNumbers ¶
一个函数声明
StatRandomNumbers生成一些不大于MaxRand的非负 随机整数,并统计和返回小于和大于MaxRand/2的随机数 个数。输入参数numRands指定了要生成的随机数的总数。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.