cvs: phpdoc /en/reference/math/functions mt-rand.xml

From: Date: Fri, 15 Nov 2002 19:47:05 +0000
Subject: cvs: phpdoc /en/reference/math/functions mt-rand.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349701@lists.php.net to get a copy of this message
philip Fri Nov 15 14:47:05 2002 EDT Modified files: /phpdoc/en/reference/math/functions mt-rand.xml Log: Removing 404 link which is uneeded anyway. Reworded a bit too. Helps close bug #14732 Index: phpdoc/en/reference/math/functions/mt-rand.xml diff -u phpdoc/en/reference/math/functions/mt-rand.xml:1.4 phpdoc/en/reference/math/functions/mt-rand.xml:1.5 --- phpdoc/en/reference/math/functions/mt-rand.xml:1.4 Mon Jun 3 11:06:16 2002 +++ phpdoc/en/reference/math/functions/mt-rand.xml Fri Nov 15 14:47:05 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 --> <refentry id="function.mt-rand"> <refnamediv> @@ -17,17 +17,13 @@ Many random number generators of older libcs have dubious or unknown characteristics and are slow. By default, PHP uses the libc random number generator with the <function>rand</function> - function. <function>mt_rand</function> function is a drop-in + function. The <function>mt_rand</function> function is a drop-in replacement for this. It uses a random number generator with - known characteristics, the Mersenne Twister, which will produce - random numbers that should be suitable for seeding some kinds - of cryptography (see the home pages for details) and is four - times faster than what the average libc provides. The Homepage - of the Mersenne Twister can be found at - <ulink url="&url.mersenne;">&url.mersenne;</ulink>, and an - optimized version of the MT source is available from - <ulink url="&url.mersenne.twister;">&url.mersenne.twister; - </ulink>. + known characteristics using the <ulink url="&url.mersenne;"> + Mersenne Twister</ulink>, which will produce random numbers that should + be suitable for seeding some kinds of cryptography (see the home page + for details) and is four times faster than what the average libc + provides. </simpara> <simpara> If called without the optional <parameter>min</parameter>,

« previous php.doc (#969349701) next »