Fixed old references additive 55

Fixed documentation that referred to the old additive 55
generator.  We have been using the subtractive 100 in place
of the additive 55 generator for a while now.
This commit is contained in:
Landon Curt Noll
2021-12-07 02:24:50 -08:00
parent cc5fb9a45b
commit 5ae3ca059a
14 changed files with 29 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
NAME
isrand - whether a value is an additive 55 state
isrand - whether a value is an subtractive 100 state
SYNOPSIS
isrand(x)
@@ -10,8 +10,9 @@ TYPES
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.
Determine if x is an subtractive 100 pseudo-random number
generator state. This function will return 1 if x is a file,
0 otherwise.
EXAMPLE
; a = srand(0)
@@ -31,7 +32,7 @@ SEE ALSO
isobjtype, isodd, isprime, israndom, isreal, isrel,
issimple, issq, isstr, istype
## Copyright (C) 1999 Landon Curt Noll
## Copyright (C) 1999,2021 Landon Curt Noll
##
## Calc is open software; you can redistribute it and/or modify it under
## the terms of the version 2.1 of the GNU Lesser General Public License

View File

@@ -1,4 +1,4 @@
NAME
randbit - subtractive 100 shuffle pseudo-random number generator
SYNOPSIS
@@ -23,7 +23,7 @@ DESCRIPTION
If x is omitted, it is assumed to have the value of 1.
See the rand() help page for details on the additive 55 shuffle
See the rand() help page for details on the subtractive 100 shuffle
pseudo-random number generator.
EXAMPLE
@@ -42,7 +42,7 @@ LINK LIBRARY
SEE ALSO
seed, srand, randbit, isrand, random, srandom, israndom
## Copyright (C) 1999,2018 Landon Curt Noll
## Copyright (C) 1999,2018,2021 Landon Curt Noll
##
## Calc is open software; you can redistribute it and/or modify it under
## the terms of the version 2.1 of the GNU Lesser General Public License

View File

@@ -20,7 +20,7 @@ DESCRIPTION
While the Blum-Blum-Shub generator is not painfully slow, it is not
a fast generator. For a faster, but lesser quality generator
(non-cryptographically strong) see the additive 55 generator
(non-cryptographically strong) see the subtractive 100 generator
(see the rand help page).
Other arg forms:

View File

@@ -23,7 +23,7 @@ DESCRIPTION
If x is omitted, it is assumed to have the value of 1.
See the random() help page for details on the additive 55 shuffle
See the random() help page for details on the subtractive 100 shuffle
pseudo-random number generator.
EXAMPLE
@@ -41,7 +41,7 @@ LINK LIBRARY
SEE ALSO
seed, srand, randbit, isrand, rand, srandom, israndom
## Copyright (C) 1999 Landon Curt Noll
## Copyright (C) 1999,2021 Landon Curt Noll
##
## Calc is open software; you can redistribute it and/or modify it under
## the terms of the version 2.1 of the GNU Lesser General Public License

View File

@@ -33,7 +33,7 @@ EXAMPLE
RAND state
; print srandom(seed())
RAND state
RANDOM state
LIMITS
none