random.mt19937 64
code:Lua
s = textmodule.random.mt19937_64()
モジュール
返り値
table:_
変数 型 概要
概要
メルセンヌツイスター(64bit)。
例
code:Lua
require("textmodule")
for i=1, 10 do
print(i, textmodule.rand.mt19937_64())
end
code:Console
1 9291840157362326668
2 12426676231472547920
3 9510733352799754375
4 5027596480641097789
5 14349527170082949229
6 8038107862635001588
7 15806594592736786450
8 11176689432961125592
9 4781227195816628010
10 2219816071867580689