Support Forum G3D Web Page |
Limited functionality 128-bit unsigned integer. More...
Public Member Functions | |
uint128 (const uint64 &lo) | |
uint128 (const uint64 &hi, const uint64 &lo) | |
uint128 | operator & (const uint128 &x) |
uint128 & | operator &= (const uint128 &x) |
uint128 & | operator*= (const uint128 &x) |
uint128 & | operator+= (const uint128 &x) |
uint128 & | operator<<= (const int x) |
bool | operator== (const uint128 &x) |
uint128 & | operator>>= (const int x) |
uint128 & | operator^= (const uint128 &x) |
uint128 & | operator|= (const uint128 &x) |
Public Attributes | |
G3D::uint64 | hi |
G3D::uint64 | lo |
Limited functionality 128-bit unsigned integer.
This is primarily to support FNV hashing and other cryptography applications. See the GMP library for high-precision C++ math support.
G3D::uint128::uint128 | ( | const uint64 & | lo | ) |
uint128& G3D::uint128::operator<<= | ( | const int | x | ) |
bool G3D::uint128::operator== | ( | const uint128 & | x | ) |
uint128& G3D::uint128::operator>>= | ( | const int | x | ) |
G3D::uint64 G3D::uint128::hi |
Referenced by HashTrait< G3D::uint128 >::hashCode().
G3D::uint64 G3D::uint128::lo |
Referenced by HashTrait< G3D::uint128 >::hashCode().