fn float(r: Random, comptime T: type) T

Return a floating point value evenly distributed in the range [0, 1).

Parameters

r: Random,
T: type,