Generates a random number on [0, 2^64-1]-interval.
Reimplemented in FX::Maths::SysRandomness. Definition at line 1682 of file FXMaths.h. 01683 { 01684 FXulong r; 01685 assert(idx % 2 == 0); 01686 01687 if (idx >= (FXuint) N32) 01688 { 01689 gen_rand_all(); 01690 idx = 0; 01691 } 01692 r = psfmt64[idx / 2]; 01693 idx += 2; 01694 return r; 01695 }
|