[Oberon] SystemV - Random Number

Jörg Straube joerg.straube at iaeth.ch
Sat Mar 23 19:44:08 CET 2019


Hans

iso 16807 (=7^5) it‘s recommended to use 48271 (prime)

Jörg

> Am 23.03.2019 um 16:22 schrieb Hans Klaver <hklaver at dds.nl>:
> 
> Tomas Kral wrote:
>> 
>>> See Chapter 2 'A first Oberon program' in 'Programming in Oberon -
>>> Steps
>> 
>> Hi, thanks for multitude of answers, I will start with this one.
> 
> Some time ago I ported module RandomNumbers to Oberon-07 and added a few extra procedures.
> You can find my implementation here:
> https://github.com/hansklav/Oberon-07/blob/master/Random.Mod
> 
> --
> Hans Klaver
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20190323/9a8bc383/attachment.html>


More information about the Oberon mailing list