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:
void_17
2026-03-02 15:53:32 +07:00
parent d6ec138710
commit d63f79325f
308 changed files with 5371 additions and 5379 deletions

View File

@@ -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;
}
};