Someone
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
1029 ms·
- 11881.▲
- 11882.▲
- 11883.▲
- 11884.▲
- 11885.▲
- 11886.▲
- 11887.▲
- 11888.▲
- 11889.▲
- 11890.▲
- 11891.▲
- 11892.▲
- 11893.▲
- 11894.▲
- 11895.▲
- 11896.▲
- 11897.▲
- 11898.▲
- 11899.▲
- 11900.▲
It is often wrong even if random() were to produce perfectly random numbers; random()%NUM, for most values of NUM, will be biased. For example, if RAND_MAX is 255, random()%10 equals 0, 1, 2, 3, 4, or 5 26/256 of the time, but 6, 7, 8, - 11901.▲
- 11902.▲
- 11903.▲
- 11904.▲
- 11905.▲
- 11906.▲
- 11907.▲
- 11908.▲
- 11909.▲
- 11910.▲
More ›