Release calc version 2.11.0t5

This commit is contained in:
Landon Curt Noll
1999-10-04 20:08:04 -07:00
parent 97e9429000
commit f60cbd24b2
38 changed files with 781 additions and 192 deletions

View File

@@ -124,7 +124,7 @@ DETAIL_HELP= abs access acos acosh acot acoth acsc acsch address agd append \
pmod polar poly pop popcnt power prevcand prevprime printf prompt \
protect ptest push putenv quo quomod rand randbit random randombit \
randperm rcin rcmul rcout rcpow rcsq re remove reverse rewind rm root \
round rsearch runtime saveval scale scan scanf search sec sech \
round rsearch runtime saveval scale scan scanf search sec sech seed \
segment select sgn sha sha1 sin sinh size sizeof sort sqrt srand \
srandom ssq str strcat strerror strlen strpos strprintf strscan \
strscanf substr sum swap system tail tan tanh test time trunc xor

View File

@@ -25,7 +25,7 @@ LIBRARY
none
SEE ALSO
rand, srand, randbit,
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,

View File

@@ -27,7 +27,7 @@ LIBRARY
none
SEE ALSO
random, srandom, randombit,
seed, random, srandom, randombit,
isassoc, isatty, isblk, isconfig, isdefined, iserror, iseven, isfile,
ishash, isident, isint, islist, ismat, ismult, isnull, isnum, isobj,
isobjtype, isodd, isprime, isrand, isreal, isrel,

View File

@@ -230,4 +230,4 @@ LIBRARY
long irand(long max)
SEE ALSO
srand, randbit, isrand, random, srandom, israndom
seed, srand, randbit, isrand, random, srandom, israndom

View File

@@ -40,4 +40,4 @@ LIBRARY
void zrand(long cnt, ZVALUE *res)
SEE ALSO
srand, randbit, isrand, random, srandom, israndom
seed, srand, randbit, isrand, random, srandom, israndom

View File

@@ -154,4 +154,4 @@ LIBRARY
long irandom(long max)
SEE ALSO
srand, randbit, isrand, rand, srandom, israndom
seed, srand, randbit, isrand, rand, srandom, israndom

View File

@@ -39,4 +39,4 @@ LIBRARY
void zrandom(long cnt, ZVALUE *res)
SEE ALSO
srand, randbit, isrand, rand, srandom, israndom
seed, srand, randbit, isrand, rand, srandom, israndom

52
help/seed Normal file
View File

@@ -0,0 +1,52 @@
NAME
seed - return a value that may be used to seed a pseudo-random generator
SYNOPSIS
seed()
TYPES
return integer
DESCRIPTION
Generate a pseudo-random seed based on a collection of system and process
information. The seed() builtin function returns a value:
0 <= seed < 2^64
IMPORTANT WARNING:
It should be pointed out that the information collected by seed
is almost certainly non-chaotic. This function is likely not
suitable for applications (such as cryptographic applications)
where the unpredictability of seeds is critical. For such critical
applications, lavarand should be used. Seed:
http://lavarand.sgi.com
for information about seeding a pseudo-random number generator
(such as rand() or random()) with the cryptographic hash of the
digitization of chaotic system.
Given the above warning, this builtin function produces a seed that is
suitable for most applications that desire a different pseudo-random
sequence each time they are run.
The return value of this builtin function should NOT be considered
a random or pseudo-random value. The return value should be used
as an argument to a seed function such as srand() or srandom().
EXAMPLE
> print srand(seed())
RAND state
> print srandom(seed())
RAND state
LIMITS
none
LIBRARY
NUMBER *pseudo_seed(void)
SEE ALSO
seed, srand, randbit, isrand, rand, random, srandom, israndom

View File

@@ -148,4 +148,4 @@ LIBRARY
RAND *zsetrand(RAND *state)
SEE ALSO
srandom, randbit, isrand, random, srandom, israndom
seed, srandom, randbit, isrand, random, srandom, israndom

View File

@@ -337,4 +337,4 @@ LIBRARY
RAND *zsetrandom(RAND *state)
SEE ALSO
srand, randbit, isrand, random, srandom, israndom
seed, srand, randbit, isrand, random, srandom, israndom