Proposed PFN for SRFI 27 John Cowan (14 Jul 2020 01:52 UTC)
Re: Proposed PFN for SRFI 27 Marc Nieper-Wißkirchen (14 Jul 2020 09:36 UTC)
Re: Proposed PFN for SRFI 27 John Cowan (14 Jul 2020 17:21 UTC)
Re: Proposed PFN for SRFI 27 Marc Nieper-Wißkirchen (14 Jul 2020 18:17 UTC)
Re: Proposed PFN for SRFI 27 John Cowan (14 Jul 2020 18:39 UTC)

Re: Proposed PFN for SRFI 27 Marc Nieper-Wißkirchen 14 Jul 2020 09:36 UTC

Am Di., 14. Juli 2020 um 03:53 Uhr schrieb John Cowan <xxxxxx@ccil.org>:
>
> This SRFI does not specify any valid upper bounds for the arguments <i>i</i> and <i>j</i> of the <code>random-source-pseudo-randomize!</i> procedure.  This note recommends that implementers follow the lead of the sample implementation, and allow any value of <i>i</i> and <i>j</i> that is less than 2<sup>51</sup>, while also ensuring that any random source produced by this function to generate at least 2<sup>76</sup> values before looping or overlapping with any related source.
>
> Comments?

By the text of the SRFI, there are no restrictions on I and J, so
given an implementation that has no upper limit on exact integers
(apart from memory issues), 'random-source-pseudo-randomize!' should
be able to produce countably many independent random sources and not
just 2^102.

Marc