Mercurial > emacs
changeset 8367:31ceccb9982d
(Frandom): Fix previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 28 Jul 1994 12:46:16 +0000 |
parents | 3be9c6b57956 |
children | 0c30bec316c6 |
files | src/fns.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Thu Jul 28 12:43:01 1994 +0000 +++ b/src/fns.c Thu Jul 28 12:46:16 1994 +0000 @@ -71,7 +71,7 @@ it's possible to get a quotient larger than limit; discarding these values eliminates the bias that would otherwise appear when using a large limit. */ - denominator = (unsigned long)0xc0000000 / XFASTINT (limit); + denominator = (unsigned long)0x40000000 / XFASTINT (limit); do val = (random () & 0x3fffffff) / denominator; while (val >= limit);