Mercurial > hg > xemacs-beta
diff src/fns.c @ 2039:fd0cbe945410
[xemacs-hg @ 2004-04-22 03:24:00 by james]
Change VALBITS to INT_VALBITS in a number of places.
author | james |
---|---|
date | Thu, 22 Apr 2004 03:24:02 +0000 |
parents | 9c872f33ecbe |
children | 61855263cb07 |
line wrap: on
line diff
--- a/src/fns.c Wed Apr 21 21:50:35 2004 +0000 +++ b/src/fns.c Thu Apr 22 03:24:02 2004 +0000 @@ -170,7 +170,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)1 << VALBITS) / XINT (limit); + denominator = ((unsigned long)1 << INT_VALBITS) / XINT (limit); do val = get_random () / denominator; while (val >= XINT (limit));