The pseudorandom number generator module contains an obsolete PRNG called minstd. It has a tiny period around 2^31 - 2 that may be exausted almost instantly. It also fails birthday spacings and gap tests. It means that it mustn't be used for any statistical computations or numerical simulation and it better to replace it some good generator (e.g. ChaCha or AES) or add a warning lilke "Warning! This PRNG is a toy suitable only for writing TETRIS".
But there it seems that it is rather difficult to add the most robust general purpose PRNGs to Oberon because things like ChaCha, LEA or Speck128/128 stream ciphers require unsigned integers with wrapping overflow. Even simpler non-cryptographic generators often require such behaviour. And additive/subtractive lagged Fibonacci generators that are friendly to such type system are either toy generators (at least for lags up to 10^6 - 10^7) or will require decimation that will make them slower than AES (i.e. senseless).
The pseudorandom number generator module contains an obsolete PRNG called minstd. It has a tiny period around 2^31 - 2 that may be exausted almost instantly. It also fails birthday spacings and gap tests. It means that it mustn't be used for any statistical computations or numerical simulation and it better to replace it some good generator (e.g. ChaCha or AES) or add a warning lilke "Warning! This PRNG is a toy suitable only for writing TETRIS".
But there it seems that it is rather difficult to add the most robust general purpose PRNGs to Oberon because things like ChaCha, LEA or Speck128/128 stream ciphers require unsigned integers with wrapping overflow. Even simpler non-cryptographic generators often require such behaviour. And additive/subtractive lagged Fibonacci generators that are friendly to such type system are either toy generators (at least for lags up to 10^6 - 10^7) or will require decimation that will make them slower than AES (i.e. senseless).