random/src/Common/RandomReal.i3


Copyright (C) 1994, Digital Equipment Corp.

INTERFACE RandomReal;

IMPORT Random;

Machine specific algorithms for generating random floating-point values.

PROCEDURE Real     (r: Random.T): REAL;
PROCEDURE Longreal (r: Random.T): LONGREAL;
PROCEDURE Extended (r: Random.T): EXTENDED;

Each of the procedures above constructs and returns a random floating-point value uniformly distributed in [0..1.0) using only the integer method of the passed random number generator.

END RandomReal.

RandomReal's implementation is in:


procedure RandomReal.Real is in:


procedure RandomReal.Longreal is in:


procedure RandomReal.Extended is in: