Files
calc/help/isrand
2017-05-21 15:38:27 -07:00

33 lines
655 B
Plaintext

NAME
isrand - whether a value is an additive 55 state
SYNOPSIS
isrand(x)
TYPES
x any, &any
return int
DESCRIPTION
Determine if x is an additive 55 pseudo-random number generator state.
This function will return 1 if x is a file, 0 otherwise.
EXAMPLE
> a = srand(0)
> print isrand(a), isrand(0);
1 0
LIMITS
none
LIBRARY
none
SEE ALSO
seed, rand, srand, randbit,
isassoc, isatty, isblk, isconfig, isdefined, iserror, iseven, isfile,
ishash, isident, isint, islist, ismat, ismult, isnull, isnum, isobj,
isobjtype, isodd, isprime, israndom, isreal, isrel,
issimple, issq, isstr, istype