1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Doc fix.

This commit is contained in:
hniksic 2005-06-28 14:56:43 -07:00
parent b789563a17
commit 276f66fc14

View File

@ -1622,13 +1622,13 @@ random_number (int max)
/* Return a random uniformly distributed floating point number in the /* Return a random uniformly distributed floating point number in the
[0, 1) range. The precision of returned numbers is 9 digits. [0, 1) range. The precision of returned numbers is 9 digits.
Modify this to use erand48() where available! */ Modify this to use drand48() where available! */
double double
random_float (void) random_float (void)
{ {
/* We can't rely on any specific value of RAND_MAX, but I'm pretty /* We can't rely on any specific value of RAND_MAX, but it must
sure it's greater than 1000. */ always be greater than 1000. */
int rnd1 = random_number (1000); int rnd1 = random_number (1000);
int rnd2 = random_number (1000); int rnd2 = random_number (1000);
int rnd3 = random_number (1000); int rnd3 = random_number (1000);