1 | // Copyright 2004 Google Inc. |
---|---|
2 | // All Rights Reserved. |
3 | // |
4 | // |
5 | |
6 | #include <iostream> |
7 | using std::ostream; |
8 | using std::cout; |
9 | using std::endl; |
10 | |
11 | #include "base/int128.h" |
12 | #include "base/integral_types.h" |
13 | |
14 | const uint128 kuint128max(static_cast<uint64>(GG_LONGLONG(0xFFFFFFFFFFFFFFFF)), |
15 | static_cast<uint64>(GG_LONGLONG(0xFFFFFFFFFFFFFFFF))); |
16 | |
17 | ostream& operator<<(ostream& o, const uint128& b) { |
18 | return (o << b.hi_ << "::"<< b.lo_); |
19 | } |
20 |