Task: Implement a Custom Random Number Generator with Full-Period Property
Task: Implement a Custom Random Number Generator with Full-Period Property: a task in Terminal-Lego-15k (Harbor dataset). The standard rand() function on Linux (glibc) uses a linear congruential generator combined with additional state, which produces many duplicate values when generating RAND MAX…
The task
The standard `rand()` function on Linux (glibc) uses a linear congruential generator combined with additional state, which produces many duplicate values when generating RAND_MAX random numbers. In contrast, some implementations (like macOS) use algorithms that achieve a full-period or near-full-period cycle, meaning…
Part of PrimeIntellect/Terminal-Lego-15k.