Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
190 views

What PRNG function is this?

This is a 16-bit PRNG function, transcribed from assembly to C for easier reading: ...
Andrew Cheong's user avatar
1 vote
2 answers
106 views

Maintain Uniform Distribution across Subranges

Note: this is a continuation of Generate Random Number outside Bounds. I have a function (thanks to the previous question) with the following prototype which returns an integer in the range $[0,b]$, $...
user19087's user avatar
  • 143