TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
uint128.h
Go to the documentation of this file.
1 
11 #ifndef G3D_UINT128_H
12 #define G3D_UINT128_H
13 
14 #include "G3D/g3dmath.h"
15 
16 namespace G3D {
17 
20 class uint128 {
21 public:
22 
25 
26  uint128(const uint64& lo);
27 
28  uint128(const uint64& hi, const uint64& lo);
29 
30  uint128& operator+=(const uint128& x);
31 
32  uint128& operator*=(const uint128& x);
33 
34  uint128& operator^=(const uint128& x);
35 
36  uint128& operator&=(const uint128& x);
37 
38  uint128& operator|=(const uint128& x);
39 
40  bool operator==(const uint128& x);
41 
42  uint128& operator>>=(const int x);
43 
44  uint128& operator<<=(const int x);
45 
46  uint128 operator&(const uint128& x);
47 };
48 }
49 
50 #endif
uint128 & operator|=(const uint128 &x)
Definition: uint128.cpp:113
uint128 & operator<<=(const int x)
Definition: uint128.cpp:137
G3D::uint64 hi
Definition: uint128.h:23
Definition: AABox.h:25
uint64_t uint64
Definition: g3dmath.h:170
uint128 & operator^=(const uint128 &x)
Definition: uint128.cpp:101
uint128 & operator>>=(const int x)
Definition: uint128.cpp:123
uint128 & operator+=(const uint128 &x)
Definition: uint128.cpp:72
uint128 & operator&=(const uint128 &x)
Definition: uint128.cpp:107
uint128 & operator*=(const uint128 &x)
Definition: uint128.cpp:84
Definition: uint128.h:20
bool operator==(const uint128 &x)
Definition: uint128.cpp:119
uint128 operator&(const uint128 &x)
Definition: uint128.cpp:152
uint128(const uint64 &lo)
Definition: uint128.cpp:69
G3D::uint64 lo
Definition: uint128.h:24
G3D::int16 x
Definition: Vector2int16.h:37