I have been looking online for a simple online OpenCL number generator. I can't find anything easy to use.
I want something like the following:
int generateRandomNumber(int fromNumber, int toNumber)
{
int num = functionOfRandomness();
return num;
}
If anyone knows an example of how I can get a random number between two values it would be very appreciated. It does not have to be a complicated random system just something that will work simply and quickly
Thanks