[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1.13.1.36 rand
‘rand(0)‘ returns a pseudo random number in the interval [0:1] generated
from the current value of two internal 32-bit seeds.
‘rand(-1)‘ resets both seeds to a standard value. ‘rand(x)‘ for x>0 sets both seeds to a value based on the value of x. ‘rand({x,y})‘ for x>0 sets seed1 to x and seed2 to y.
This document was generated on November 19, 2011 using texi2html 5.0.