max-int Bradley Lucier (25 Jan 2024 21:40 UTC)
Re: max-int John Cowan (26 Jan 2024 05:28 UTC)
Re: max-int Bradley Lucier (26 Jan 2024 14:23 UTC)
(missing)
Re: max-int Bradley Lucier (26 Jan 2024 16:30 UTC)
Re: max-int Marc Feeley (26 Jan 2024 17:42 UTC)
Re: max-int John Cowan (26 Jan 2024 22:10 UTC)
Re: max-int Bradley Lucier (27 Jan 2024 01:00 UTC)
Re: max-int Shiro Kawai (27 Jan 2024 08:39 UTC)
Re: max-int Antero Mejr (27 Jan 2024 21:29 UTC)

Re: max-int Antero Mejr 27 Jan 2024 21:28 UTC

Shiro Kawai <xxxxxx@gmail.com> writes:

> I may be missing the context, but can we just rely on srfi-143 fx-greatest?  If
> dependency is an issue, we can cond-expand and use heuristics only when srfi-143
> isn't available.

That works. The SRFI 194 random generators in Gauche only support fixnum
upper/lower bounds, so I updated max-int to be fx-greatest.

For implementations without SRFI 143, a fallback to 2^24 seems
reasonable.