<div dir="ltr"><div>This changeset fixes an infinite loop when doing:</div><div>  Random new nextInteger: 0</div><div><br></div><div>It also allows to use any integer as seed to initialize a new Random, so you can do something like:<br></div><div>  Random seed: 12938479182374979182734987</div><div>without making assumptions about the particular implementation of Random that will be created. The new ParkMiller88Random will be initialized exactly as before if the seed is in the originally expected range (keeping backwards compatibility); but if the seed is not in that range, now it will initialize the generator with a valid seed derived from the user-provided seed, instead of raising an exception.<br></div><div><br></div><div>The changeset also adds a method Random>>nextBoolean that returns true or false.</div><div><br></div></div>