1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00
This commit is contained in:
Jani Taskinen
2007-11-06 10:56:58 +00:00
parent 5f7ece064d
commit 60ea051685
+2 -3
View File
@@ -36,7 +36,6 @@ int lcg_globals_id;
#else
static php_lcg_globals lcg_globals;
#endif
#ifdef PHP_WIN32
#include <process.h>
@@ -44,7 +43,7 @@ static php_lcg_globals lcg_globals;
/*
* combinedLCG() returns a pseudo random number in the range of (0, 1).
* The function combines two CGs with periods of
* 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.
*/
@@ -57,7 +56,7 @@ PHPAPI double php_combined_lcg(TSRMLS_D) /* {{{ */
{
php_int32 q;
php_int32 z;
if (!LCG(seeded)) {
lcg_seed(TSRMLS_C);
}