MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / lcg_urandom

Function lcg_urandom

Python/random.c:212–225  ·  view source on GitHub ↗

Fill buffer with pseudo-random bytes generated by a linear congruent generator (LCG): x(n+1) = (x(n) * 214013 + 2531011) % 2^32 Use bits 23..16 of x(n) to generate a byte. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_PyRandom_InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected