From 42b5521af505eaddfd4891703da8120865896258 Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 5 Sep 2001 19:47:55 +0000 Subject: revert bad commit. --- ext/standard/lcg.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ext/standard/lcg.c') diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c index f211317d73..7ae45a0ef0 100644 --- a/ext/standard/lcg.c +++ b/ext/standard/lcg.c @@ -42,11 +42,6 @@ static int php_lcg_initialized = 0; * The function combines two CGs with periods of * 2^31 - 85 and 2^31 - 249. The period of this function * is equal to the product of both primes. - * - * There are only about 65k distinct starting values, that's - * not much... If PHP is running as CGI, randomness is quite bad. - * If it is run as a module, it's long-livin', so no problem in that - * case. */ #define MODMULT(a, b, c, m, s) q = s/a;s=b*(s-a*q)-c*q;if(s<0)s+=m @@ -108,5 +103,5 @@ PHP_FUNCTION(lcg_value) * c-basic-offset: 4 * End: * vim600: sw=4 ts=4 tw=78 fdm=marker - * vim<600: sw=8 ts=8 tw=78 + * vim<600: sw=4 ts=4 tw=78 */ -- cgit v1.2.1