rand static method

int rand()

Implementation

static int rand(){
	_randNext = unsigned( _randNext * 1103515245 + 12345, umax32.toDouble() ).toInt();
	return imod( _randNext ~/ ((randMax + 1) * 2), randMax + 1 );
}