Random Number Generator

Sign in to follow this  
Followers 0

1 Screenshot

About This File

Generates a Pseudo random number using the mixed congrential method.

Formula r(i+1) = (a r + b) MOD N

This will generate a random number between 0 & N-1 with N = 2 (pwr 20) = 1048576 a = 1909 b = 221571

The MOD operation is the integer


1 person likes this