5 ms·
You can start with this idea, and then make it _very_ performant by using bit counting instructions. See https://www.corsix.org/content/higher-quality-random-fl
by corsix 1y ago
You can start with this idea, and then make it _very_ performant by using bit counting instructions. See https://www.corsix.org/content/higher-quality-random-floats https://www.corsix.org/content/higher-quality-random-floats for an exposition.