Generate a 16-bit random number in the range [min, max)
- Parameters
-
min | The lower bound (inclusive) |
max | The upper bound (exclusive) |
- Returns
- A random 16-bit number from min to max-1
Definition at line 151 of file random.h.
151 {
152 return static_cast<u16>((*this)(min, max));
153 }