24 #ifndef GRAPHLAB_UINT128_HPP
25 #define GRAPHLAB_UINT128_HPP
29 #include <graphlab/serialization/serialization_includes.hpp>
63 i.ints.high = (uint64_t)(-1);
64 i.ints.low = (uint64_t)(-1);
71 inline std::ostream& operator<<(std::ostream& out,
const gl_uint128_t &val) {
72 static char hexchar[17] =
"0123456789abcdef";
74 for (
size_t i = 0;i < 16; ++i) {
75 out << hexchar[(val.bytes[i] >> 4) & 15];
76 out << hexchar[val.bytes[i] & 15];