生成随机数。
rand() rand(max) rand(min, max)
min
max
0..max
Float | Int:无参返回 [0, 1) 浮点数;整数边界返回整数。
Float | Int
[0, 1)
result = rand()