jani Tue Nov 6 10:56:58 2007 UTC
Modified files:
/php-src/ext/standard lcg.c
Log:
ws
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/lcg.c?r1=1.46&r2=1.47&diff_format=u
Index: php-src/ext/standard/lcg.c
diff -u php-src/ext/standard/lcg.c:1.46 php-src/ext/standard/lcg.c:1.47
--- php-src/ext/standard/lcg.c:1.46 Sat Jul 14 08:38:19 2007
+++ php-src/ext/standard/lcg.c Tue Nov 6 10:56:58 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: lcg.c,v 1.46 2007/07/14 08:38:19 tony2001 Exp $ */
+/* $Id: lcg.c,v 1.47 2007/11/06 10:56:58 jani Exp $ */
#include "php.h"
#include "php_lcg.h"
@@ -36,7 +36,6 @@
#else
static php_lcg_globals lcg_globals;
#endif
-
#ifdef PHP_WIN32
#include <process.h>
@@ -44,7 +43,7 @@
/*
* 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 @@
{
php_int32 q;
php_int32 z;
-
+
if (!LCG(seeded)) {
lcg_seed(TSRMLS_C);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php