FXulong FX::Maths::FRandomness::int64 (  )  throw () [inline]

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         }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:38:02 2009 for TnFOX by doxygen v1.4.7