2 * Sherlock Library -- Unbiased Range Correction for random()
4 * (c) 1998 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
19 l = (RAND_MAX + 1U) - ((RAND_MAX + 1U) % max);