mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
fix rand pseudo-random number generator
Fixed more documentation and code comments that referred to the old additive 55 (a55) shuffle pseudo-random number generator. We have been using the subtractive 100 shuffle pseudo-random number generator in place of the additive 55 generator for a while now.
This commit is contained in:
@@ -148,9 +148,9 @@ STATIC struct infoname sys_info[] = {
|
||||
(FULL)0},
|
||||
{"HIST_SIZE", "Default history size", NULL,
|
||||
(FULL)HIST_SIZE},
|
||||
{"INIT_J", "initial 1st walking a55 table index", NULL,
|
||||
{"INIT_J", "initial 1st walking subtractive 100 shuffle table index", NULL,
|
||||
(FULL)INIT_J},
|
||||
{"INIT_K", "initial 2nd walking a55 table index", NULL,
|
||||
{"INIT_K", "initial 2nd walking subtractive 100 shuffle table index", NULL,
|
||||
(FULL)INIT_K},
|
||||
{"INODE_BITS", "inode number size in bits", NULL,
|
||||
(FULL)INODE_BITS},
|
||||
@@ -222,7 +222,7 @@ STATIC struct infoname sys_info[] = {
|
||||
(FULL)SBYTES},
|
||||
{"SCNT", "length of subtractive 100 table in FULLs", NULL,
|
||||
(FULL)SCNT},
|
||||
{"SEEDXORBITS", "low bits of a55 seed devoted to xor", NULL,
|
||||
{"SEEDXORBITS", "low bits of subtractive 100 shuffle pseudo-random number generator seed devoted to xor", NULL,
|
||||
(FULL)SEEDXORBITS},
|
||||
{"SHALFS", "size of additive or shuffle entry in HALFs", NULL,
|
||||
(FULL)SHALFS},
|
||||
|
Reference in New Issue
Block a user