Maths
int random ( int min, int max )
Returns a random integer between min
and max
, inclusive.
int abs ( int value )
Returns the absolute value of value
.
If value
is positive, return value
.
If value
is negative, return -value
.
int sign ( int value )
Returns the sign of value
.
If value
is positive, return 1
.
If value
is negative, return -1
.
If value
is zero, return 0
.
int min ( int a, int b )
If b
is less than a
, return b
. Otherwise, return a
.
int max ( int a, int b )
If b
is greater than a
, return b
. Otherwise, return a
.