Hello PHP internals,
I've been running several million tests regarding the
arithmetically-random-functions.
The returning value at the end:
Avg: mt_r: 1073848211.4106 r: 16384.155746685 ~8016909
Avg: mt_r: 1073904131.0286 r: 16384.164383921 ~8503575
Avg: mt_r: 1074010520.4456 r: 16384.091213092
hi,
On Wed, Mar 4, 2009 at 2:50 PM, Kenan Sulayman kur...@kkooporation.de wrote:
I've been running several million tests regarding the
arithmetically-random-functions.
The returning value at the end:
Avg: mt_r: 1073848211.4106 r: 16384.155746685 ~8016909
Avg: mt_r: 1073904131.0286 r:
hi,
And please disable this auto reply on your system:
Der Server hat ihre Nachricht erfolgreich verarbeitet!
Vielen Dank,
Ihr KurealCorporation Kunden Service.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org
--
PHP Internals - PHP Runtime Development Mailing List
To
Hey Pierre!
Didn't I included the mt_rand function in my tests ?
Quote: Average of mersenne twister in 8016909 it's is 1073848211.4106 (
corresponding to that in 8503575 it's the avg. is 1073904131.0286).
The mail was meant to make the rand(x) function more good;
I already use the mt_rand()
Kenan Sulayman wrote:
The rand(x) function alters the avg in 5M iterations really by just 0.1 ?
Wow, that's creepy.
Is there any way - to make it better ( or a bit as good as the m_twister is
? ) ?
there's a reason why mt_rand() is referred to as Generate a better
random value in the rand()
On 4 Mar 2009, at 15:46, Kenan Sulayman wrote:
Hey Pierre!
Didn't I included the mt_rand function in my tests ?
Quote: Average of mersenne twister in 8016909 it's is
1073848211.4106 (
corresponding to that in 8503575 it's the avg. is 1073904131.0286).
The mail was meant to make the
Guess you're right ;-D
Thanks!
--
(c) Kenan Sulayman
Freelance Designer and Programmer
Life's Live Poetry
2009/3/4 Stefan Walk e...@php.net
On 4 Mar 2009, at 15:46, Kenan Sulayman wrote:
Hey Pierre!
Didn't I included the mt_rand function in my tests ?
Quote: Average of mersenne
Kenan Sulayman wrote:
Hello PHP internals,
I've been running several million tests regarding the
arithmetically-random-functions.
The returning value at the end:
Avg: mt_r: 1073848211.4106 r: 16384.155746685 ~8016909
Avg: mt_r: 1073904131.0286 r: 16384.164383921 ~8503575
Avg: mt_r: