Comment #3 on issue 558 by [email protected]: Math.random yields <= 30 bits http://code.google.com/p/v8/issues/detail?id=558
Well, we start with a 30-bit quantity, divide by 0x40000000 to obtain a float between 0 and 1, then multiply by
0x100000000 (=2^32), so we get the original 30 bits shifted left two places. -- 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
