Main Page
|
Modules
|
Directories
|
File List
|
Globals
Mathematical functions
Functions
int
caca_rand
(int, int)
Generate a random integer within a range.
unsigned int
caca_sqrt
(unsigned int)
Detailed Description
These functions provide a few useful math-related routines.
Function Documentation
int caca_rand
(
int
min
,
int
max
)
Parameters:
min
The lower bound of the integer range.
max
The upper bound of the integer range.
Returns:
A random integer comprised between
min
and
max
, inclusive.