[ipv6hackers] looking for the best tools to handle 128 bit integers

Erik Kline ek at google.com
Wed Aug 10 00:51:53 CEST 2011


If you really need 128bit integers in C/C++ you'll probably have to end up
writing your own class that has a high uint64 and low uint64 part and does
all the right cool things to behave like a primitive (in C++).  This can be
fun, and tricky.

Often times, in my experience, true integer-like behaviour isn't absolutely
required for IPv6 code, it just makes some things much much easier.



More information about the Ipv6hackers mailing list