Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
@@ -3,21 +3,21 @@
|
||||
class Random
|
||||
{
|
||||
private:
|
||||
__int64 seed;
|
||||
int64_t seed;
|
||||
bool haveNextNextGaussian;
|
||||
double nextNextGaussian;
|
||||
protected:
|
||||
int next(int bits);
|
||||
public:
|
||||
Random();
|
||||
Random(__int64 seed);
|
||||
void setSeed(__int64 s);
|
||||
Random(int64_t seed);
|
||||
void setSeed(int64_t s);
|
||||
void nextBytes(byte *bytes, unsigned int count);
|
||||
double nextDouble();
|
||||
double nextGaussian();
|
||||
int nextInt();
|
||||
int nextInt(int to);
|
||||
float nextFloat();
|
||||
__int64 nextLong();
|
||||
int64_t nextLong();
|
||||
bool nextBoolean();
|
||||
};
|
||||
Reference in New Issue
Block a user