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