Comment #2 on issue 3127 by [email protected]: Want more random bits in Math.random()
http://code.google.com/p/v8/issues/detail?id=3127

In retrospect, after mulling over the spec a bit, the V8 behavior complies with http://ecma-international.org/ecma-262/5.1/#sec-15.8.2.14 [there exist "approximately uniform distributions" under which Math.floor(Math.random() * (Math.pow(2,33) + 1)) % 2 is constant]

The performance penalty associated with increasing the entropy probably outweighs the benefit, and as such I think this should be closed.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to