Simple Random Number Generator for OSX. This is an Xcode project for a Cocoa application.
Follow Random Number Generator Xcode Project
Other Useful Business Software
AI-powered service management for IT and enterprise teams
Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Rate This Project
Login To Rate This Project
User Reviews
-
Using the remainder of dividing a number up to (2**31) -1 by the max raandom number you want will return numbers with a bias to the low end if your max is not a factor of (2**31) - 1. In fact if the upper bound is over ((2 ** 31) - 1) / 2 you will not get any numbers in the top. For most uses this will be a small bias but an example on sourceforge should either return random numbers or explain what the problems exist with the implementation.