37 #ifndef RTPRANDOMRAND48_H
39 #define RTPRANDOMRAND48_H
41 #include "rtpconfig.h"
43 #ifdef RTP_SUPPORT_THREAD
44 #include <jthread/jmutex.h>
60 uint16_t GetRandom16();
61 uint32_t GetRandom32();
62 double GetRandomDouble();
64 void SetSeed(uint32_t seed);
66 #ifdef RTP_SUPPORT_THREAD
67 jthread::JMutex mutex;
A random number generator using the algorithm of the rand48 set of functions.
Definition: rtprandomrand48.h:53
Interface for generating random numbers.
Definition: rtprandom.h:52