Re: com php-src: Revert "Fix #71152: mt_rand()returnsthedifferent values from original
mt19937ar.c":ext/standard/rand.cext/standard/tests/math/mt_rand_value.phpt

From: Date: Mon, 22 Feb 2016 15:42:27 +0000
Subject: Re: com php-src: Revert "Fix #71152: mt_rand()returnsthedifferent values from original
mt19937ar.c":ext/standard/rand.cext/standard/tests/math/mt_rand_value.phpt
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-91343@lists.php.net to get a copy of this message
embarrassing correction to my message: the last four words of the 2nd para here should have been at the end of the previous para. On 2/22/16 8:23 AM, Tom Worster wrote:
PHP is an unlikely language for the typical programs that specifically need MT19937. I doubt we would sort out anyone's existing problems by fixing it. If I'm wrong and there is indeed a need for this kind of RNG then I'd rather see an API that supports more than just this one generator. So I don't think PHP should feel obliged to provide a correct MT19937, although it should correctly document what it does provide, like the hash ext.
4c4,5 < then I'd rather see an API that supports more than just this one generator. ---
then I'd rather see an API that supports more than just this one generator, like the hash ext. 7,8c8
< although it should correctly document what it does provide, like the < hash ext. ---
although it should correctly document what it does provide.


« previous php.internals (#91343) next »