cfunction src/core/math.c on line 151, column 1 (math/rng-int rng &opt lim) Get a random integer in the range [0, `lim`) for a positive integer `lim` using the RNG `rng`. If `lim` not given, the default is 2^31 - 1.