11 #ifndef ROOT_RtypesCore
12 #define ROOT_RtypesCore
34 typedef unsigned char UChar_t;
35 typedef short Short_t;
36 typedef unsigned short UShort_t;
39 typedef unsigned long UInt_t;
42 typedef unsigned int UInt_t;
44 #ifdef R__B64 // Note: Long_t and ULong_t are currently not portable types
47 typedef unsigned long ULong_t;
51 typedef unsigned long ULong_t;
53 typedef float Float_t;
54 typedef float Float16_t;
55 typedef double Double_t;
56 typedef double Double32_t;
57 typedef long double LongDouble_t;
60 typedef unsigned char Byte_t;
61 typedef short Version_t;
62 typedef const char Option_t;
65 #if defined(R__WIN32) && !defined(__CINT__)
66 typedef __int64 Long64_t;
67 typedef unsigned __int64 ULong64_t;
69 typedef long long Long64_t;
70 typedef unsigned long long ULong64_t;
72 typedef double Axis_t;
73 typedef double Stat_t;
76 typedef short Style_t;
77 typedef short Marker_t;
78 typedef short Width_t;
79 typedef short Color_t;
80 typedef short SCoord_t;
81 typedef double Coord_t;
82 typedef float Angle_t;
87 const Bool_t kTRUE =
true;
88 const Bool_t kFALSE =
false;
90 const Int_t kMaxUChar = 256;
91 const Int_t kMaxChar = kMaxUChar >> 1;
92 const Int_t kMinChar = -kMaxChar - 1;
94 const Int_t kMaxUShort = 65534;
95 const Int_t kMaxShort = kMaxUShort >> 1;
96 const Int_t kMinShort = -kMaxShort - 1;
98 const UInt_t kMaxUInt = UInt_t(~0);
99 const Int_t kMaxInt = Int_t(kMaxUInt >> 1);
100 const Int_t kMinInt = -kMaxInt - 1;
102 const ULong_t kMaxULong = ULong_t(~0);
103 const Long_t kMaxLong = Long_t(kMaxULong >> 1);
104 const Long_t kMinLong = -kMaxLong - 1;
106 const ULong64_t kMaxULong64 = ULong64_t(~0LL);
107 const Long64_t kMaxLong64 = Long64_t(kMaxULong64 >> 1);
108 const Long64_t kMinLong64 = -kMaxLong64 - 1;
110 const size_t kBitsPerByte = 8;
111 const Ssiz_t kNPOS = ~(Ssiz_t)0;