Looking to make a really simple random number generator method in C. The numbers should be between 0 and 24 and can be for example 14.5f.
Any help would be great, thanks
The Mersenne_twister is not only very simple, but also very strong.
See the code on the link.
However, if you can use GPL License, use the The GNU Scientific Library (GSL) specific check Random-Number-Generator-Examples from Random-Number-Generation part of the manual
There are many things there, from simple uniform random numbers to other distributions.