Git
Active branch of this project can now be found at github.com/tringi
Details
The new version of the int128 is built on top a template called double_integer
which representation-wise correctly (little-endian) doubles width of any arbitrary integral data type. C++11 compiler support is required.
Key features
- Objects represent the data type they simulate for little-endian platform, P.O.D. aka
standard layout type
. - The std::numeric_limits is correctly overloaded for every instantiated double_integer.
- Nesting instantiations is valid way to create 256-bit integers, 512-bit integers and even arbitrarily larger ones.
License
int128 s a free software available under the zlib license.
For detailed text of the license see
The zlib License.