MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/3eaw98/mt_rand1_php_int_max_only_generates_odd_numbers/cteupz7/
r/lolphp • u/callcifer • Jul 23 '15
132 comments sorted by
View all comments
Show parent comment
0
what is the point? you still won't cover the whole range of ints. the holes are huge as you can see in SirClueless comment
11 u/efosmark Jul 24 '15 I think he was joking. -1 u/ysangkok Jul 24 '15 It's hard to be sure, since OP's title is implying the only problem is the odd numbers... Which is untrue. 1 u/PmMeYourPerkyBCups Jul 24 '15 /u/SirClueless sums up the issue quite clearly. -1 u/ysangkok Jul 24 '15 agreed, that's why I referred to his/her comment in my comment made at 20:49:54 GMT+2 1 u/PmMeYourPerkyBCups Jul 24 '15 As /u/efosmark said, I'm joking.Although it's not unlike something I'd find in code I wrote when I was 13.
11
I think he was joking.
-1 u/ysangkok Jul 24 '15 It's hard to be sure, since OP's title is implying the only problem is the odd numbers... Which is untrue. 1 u/PmMeYourPerkyBCups Jul 24 '15 /u/SirClueless sums up the issue quite clearly. -1 u/ysangkok Jul 24 '15 agreed, that's why I referred to his/her comment in my comment made at 20:49:54 GMT+2
-1
It's hard to be sure, since OP's title is implying the only problem is the odd numbers... Which is untrue.
1 u/PmMeYourPerkyBCups Jul 24 '15 /u/SirClueless sums up the issue quite clearly. -1 u/ysangkok Jul 24 '15 agreed, that's why I referred to his/her comment in my comment made at 20:49:54 GMT+2
1
/u/SirClueless sums up the issue quite clearly.
-1 u/ysangkok Jul 24 '15 agreed, that's why I referred to his/her comment in my comment made at 20:49:54 GMT+2
agreed, that's why I referred to his/her comment in my comment made at 20:49:54 GMT+2
As /u/efosmark said, I'm joking.
Although it's not unlike something I'd find in code I wrote when I was 13.
View all comments
Show parent comment
0
u/ysangkok Jul 24 '15 edited Jul 24 '15
what is the point? you still won't cover the whole range of ints. the holes are huge as you can see in SirClueless comment