cfunction src/core/math.c on line 155, column 1 (math/rng-int rng &opt max) Extract a random random integer in the range [0, max] from the RNG. If no max is given, the default is 2^31 - 1.