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.