Talk:Random Number Generator

From OSDev Wiki
Jump to navigation Jump to search

Power Spectral Density of Linear feedback shift registers

For those concerned about even power spectral density (aka white noise), it should be noted that LFSRs tend to have a bias towards lower frequencies (similar to pink noise).

Here's a comparison of the frequency spectrum of glibc's rand() vs an LFSR:

Rand spectrum.png