mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
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:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user