mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
33 lines
655 B
Plaintext
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
|