37 #if (_MSC_VER >= 1200) //%%% vkr for VC 6.0 42 typedef unsigned long long int uinT64;
43 #endif //%%% vkr for VC 6.0 48 #define INT32FORMAT "%d" 49 #define INT64FORMAT "%lld" 52 #define MAX_INT16 0x7fff 53 #define MAX_INT32 0x7fffffff 54 #define MAX_UINT8 0xff 55 #define MAX_UINT16 0xffff 56 #define MAX_UINT32 0xffffffff 57 #define MAX_FLOAT32 ((float)3.40282347e+38) 60 #define MIN_INT16 0x8000 61 #define MIN_INT32 static_cast<int>(0x80000000) 62 #define MIN_UINT8 0x00 63 #define MIN_UINT16 0x0000 64 #define MIN_UINT32 0x00000000 65 #define MIN_FLOAT32 ((float)1.17549435e-38) 79 return diff <= tolerance && -diff <= tolerance;
bool NearlyEqual(T x, T y, T tolerance)
unsigned long long int uinT64