From 276f66fc14a4599db7eb9ecce36c1a3ee176e8e7 Mon Sep 17 00:00:00 2001 From: hniksic Date: Tue, 28 Jun 2005 14:56:43 -0700 Subject: [PATCH] [svn] Doc fix. --- src/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.c b/src/utils.c index 6d095fa1..f6d708cc 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1622,13 +1622,13 @@ random_number (int max) /* Return a random uniformly distributed floating point number in the [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 random_float (void) { - /* We can't rely on any specific value of RAND_MAX, but I'm pretty - sure it's greater than 1000. */ + /* We can't rely on any specific value of RAND_MAX, but it must + always be greater than 1000. */ int rnd1 = random_number (1000); int rnd2 = random_number (1000); int rnd3 = random_number (1000); -- 2.39.2