32#include "fastjet/internal/BasicRandom.hh"
34FASTJET_BEGIN_NAMESPACE
36#ifdef FASTJET_HAVE_LIMITED_THREAD_SAFETY
37std::mutex BasicRandom<double>::_multiple_number_generation_mutex;
44int __default_random_generator(
int *__iseed)
46 int __k = __iseed[0]/53668;
47 __iseed[0] = (__iseed[0] - __k*53668)*40014 - __k*12211;
48 if(__iseed[0] < 0) __iseed[0] += 2147483563;
50 __k = __iseed[1]/52774;
51 __iseed[1] = (__iseed[1] - __k*52774)*40692 - __k*3791;
52 if(__iseed[1] < 0) __iseed[1] += 2147483399;
54 int __iz = __iseed[0] - __iseed[1];
55 if(__iz < 1) __iz += 2147483562;
61BasicRandom<int> _G_random_int;
62BasicRandom<double> _G_random_double;