Anonymous user
Linear congruential generator: Difference between revisions
m
→{{header|REXX}}: changed the REXX program comment.
m (→{{header|REXX}}: used variables to hold a couple of powers of 2, added/changed comments and whitespace, used whitespace in the two centered output titles.) |
m (→{{header|REXX}}: changed the REXX program comment.) |
||
Line 2,686:
=={{header|REXX}}==
<lang rexx>/*REXX program uses a linear congruential generator (LCG) that simulates the old
/*
numeric digits 20 /*use enough dec. digs for the multiply*/
two@@16= 2**16 /*use a variable to contain 2^16 */
|