mt_save
, mt_load
mt_save
.
By loading the state file with mt_load
,
one can trace a single random number sequence arcoss multiple
Asir sessions.
[340] random(); 3510405877 [341] mt_save("/tmp/mt_state"); 1 [342] random(); 4290933890 [343] quit; % asir This is Asir, Version 991108. Copyright (C) FUJITSU LABORATORIES LIMITED. 3 March 1994. All rights reserved. [340] mt_load("/tmp/mt_state"); 1 [341] random(); 4290933890
random
, section lrandom
.
Go to the first, previous, next, last section, table of contents.