mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.10.2t30
This commit is contained in:
28
help/isrand
Normal file
28
help/isrand
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
rand, srand
|
Reference in New Issue
Block a user