Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ubernostrum
on April 22, 2011
|
parent
|
context
|
favorite
| on:
A common bug in published code
The comment I was replying to was simply saying that casting the return value of Math.random() will be 0. Which is true, but is not the issue -- order of operations (for people who think the multiplication happens before the cast) is the issue.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: