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:
@@ -57,14 +57,14 @@ public:
|
||||
}
|
||||
static bool isInfinite( double a ) { return false; /*4J TODO*/ }
|
||||
|
||||
static double longBitsToDouble( __int64 bits )
|
||||
static double longBitsToDouble( int64_t bits )
|
||||
{
|
||||
return *(double *)&bits;
|
||||
}
|
||||
|
||||
static __int64 doubleToLongBits( double d )
|
||||
static int64_t doubleToLongBits( double d )
|
||||
{
|
||||
return *(__int64 *)&d;
|
||||
return *(int64_t *)&d;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user