56 int nextInt()
noexcept;
62 int nextInt (
int maxValue)
noexcept;
72 int64 nextInt64()
noexcept;
77 float nextFloat()
noexcept;
82 double nextDouble()
noexcept;
85 bool nextBool()
noexcept;
93 void fillBitsRandomly (
void* bufferToFill,
size_t sizeInBytes);
96 void fillBitsRandomly (
BigInteger& arrayToChange,
int startBit,
int numBits);
100 void setSeed (
int64 newSeed)
noexcept;
109 void combineSeed (
int64 seedValue)
noexcept;
117 void setSeedRandomly();
125 static Random& getSystemRandom() noexcept;
An arbitrarily large integer class.
A random number generator.
int64 getSeed() const noexcept
Returns the RNG's current seed.
A general-purpose range object, that simply represents any linear range with a start and end point.
#define JUCE_LEAK_DETECTOR(OwnerClass)
This macro lets you embed a leak-detecting object inside a class.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
long long int64
A platform-independent 64-bit integer type.