UNbiased random number generation

Often it's desirable have a series of random numbers that meet the UNbiased condition of true randomness, but it doesn't matter if they meet the unpredictable condition, and it can actually be a plus to be able to reproduce the stream. A good example is a monte-carlo simulation. For these tasks, a mind boggling amount of effort has gone into creating the fastest, most compact pseudo-random subroutine. here are links to just a few examples, written in 'C': And here's an example program which answers most programmers questions about using a pseudo random number generator.

If a generator is biased, it can also be fixed by removing the bias.