Comment #2 on issue 558 by Alexandre.Zani: Math.random yields <= 30 bits
http://code.google.com/p/v8/issues/detail?id=558

I have an inkling of what may be going on here:
The Smi (small integer) class which is what Math.random returns only holds 31 bits of information. It also happens to be signed while Math.random only returns positive numbers. So that's 30 bits only. Now, I'm still trying to figure out how that
translates to the 2 LSBs always being 0s.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to