MCPcopy Create free account
hub / github.com/FDOS/kernel / greatest_prng_step

Function greatest_prng_step

tests/greatest.h:1134–1139  ·  view source on GitHub ↗

Step the pseudorandom number generator until its state reaches \ * another test ID between 0 and the test count. \ * This use a linear congruential pseudorandom number generator, \ * with the power-of-two ceiling of the test count as the modulus, the \ * masked seed as the multiplier, and a prime as the increment. For \ * each generated value < th

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected