Directory Structure
The entire library can be consumed via <boost/int256.hpp>, or by independently selecting any of the library headers.
| Header | Description |
|---|---|
Convenience header (includes most headers below; does not include |
|
Bit manipulation functions |
|
Big-endian and little-endian byte order conversions |
|
Character conversion ( |
|
C-style limit macros ( |
|
Division with quotient and remainder ( |
|
|
|
C++20 |
|
|
|
Core type definition ( |
|
Stream insertion/extraction operators |
|
|
|
User-defined literals ( |
|
Numeric functions ( |
|
Traits for usage with Boost.Random |
|
|
|
Modular arithmetic, integer power, integer square root, checked arithmetic, and signedness-safe comparisons |
The implementation lives under include/boost/int256/detail/ and is not part of the public interface.
The remaining top-level directories of the repository are:
| Directory | Contents |
|---|---|
|
This documentation (Antora) |
|
The programs shown in Examples, each built and run as a test |
|
The amalgamation script, the generated single header, and the debugger pretty printers |
|
The C++20 module interface unit |
|
The vcpkg port |
|
The test suite, including the CUDA and SYCL suites, the compile-fail tests, the fuzzing harnesses and differential test against wide-integer, and the benchmarks |