31 #ifndef CORE_OS_RAND_H
32 #define CORE_OS_RAND_H
34 #include <Core/Thread/Time.h>
38 static bool initialized =
false;
43 return ((
double) rand())/ RAND_MAX;
double drand48()
Define drand48 function for WIN32 platform.
Definition: Rand.h:36
static SysClock currentTicks()
Definition: Time_unix.cc:89