Function rc_get_random_double¶
Defined in File other.h
Function Documentation¶
-
double rc_get_random_double(void)¶
Returns a random double-precision floating point number between -1 and 1.
Uses standard C rand function and bitwise operations which is much faster than doing floating point arithmetic.
- Returns
random double-precision floating point number between -1 and 1