Inclusive endpoints, no modulo bias
The minimum and maximum are both possible results. The supported bounds are signed 32-bit integers: −2,147,483,648 through 2,147,483,647. The range may therefore contain up to 2³² choices. Rejection sampling avoids the bias introduced by taking a random byte modulo an arbitrary range size. The d6 and d20 presets simply select ranges 1–6 and 1–20; enter 1 and any supported maximum for custom dice.