Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
foobar2020
on July 24, 2015
|
parent
|
context
|
favorite
| on:
A call to PHP's mt_rand generates only odd numbers
Whoops, you are right, I should have written (modulus) and not (modulus + 1). Another reason why this is an anti-pattern :). Thanks for correcting me!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: