Boost.int128

    • Int128: Portable and Performant 128-bit integers
    • Getting Started
    • Pretty Printers
      • LLDB
      • GDB
      • MSVC NATVIS
    • Examples
      • Basic Construction
      • Basic Arithmetic
      • IO Streaming
      • Rollover Behavior
      • <bit> support (Bitwise Operations)
      • <numeric> support (Saturating Arithmetic)
      • <numeric> support (Numeric Algorithms)
      • Checked Arithmetic
      • Mixed Signedness Arithmetic
      • Boost Math and Random Integration
      • Boost.Charconv Integration
      • String Conversion (to_string)
      • {fmt} Integration
      • <cstdlib> support (Combined div and mod)
      • Use of the library in a CUDA kernel
      • Use of the library in a SYCL kernel
    • API Reference
      • Namespaces
      • Types
      • Literals
      • Structs
      • Functions
        • <bit> (Bitwise ops)
        • <charconv> (from_chars and to_chars)
        • <cmath> (abs)
        • <cstdlib> (div and mod functions)
        • <functional> (std::hash)
        • Formatting
        • <iostream>
        • <ios>
        • <numeric> (saturating ops, gcd, lcm)
        • <string> (to_string)
        • Utilities (ipow, isqrt, powm, etc)
      • Macros
        • Literals
        • Configuration
      • Headers
    • Directory Structure
    • uint128_t
      • Alignment
      • Operator Behavior
      • Constructors
      • Conversion Operators
      • Comparison Operators
      • Bitwise Operators
      • Mathematical Operators
      • <limits> Support and Values
    • int128_t
      • Alignment
      • Operator Behavior
      • Constructors
      • Conversion Operators
      • Comparison Operators
      • Bitwise Operators
      • Mathematical Operators
      • <limits> Support and Values
    • Mixed Type Operations
    • Literals
    • <bit> (Bitwise ops)
    • <cstdlib> (div and mod functions)
    • <charconv> (from_chars and to_chars)
    • <iostream> support
    • std::hash support
    • <numeric> (saturating ops, gcd, lcm)
    • <string> (to_string)
    • Formatting Support
      • <format>
      • {fmt}
    • Utilities
      • Modular Exponentiation
      • Integer Power
      • Integer Square Root
      • Checked Arithmetic
    • Boost.Random Support
    • Configuration Macros
    • Benchmarks
      • uint128_t Benchmarks
        • Linux
        • Windows
        • macOS
      • int128_t Benchmarks
        • Linux
        • Windows
        • macOS
    • Comparison to Boost.Multiprecision
    • Design Decisions
    • References
    • Copyright and License
  • Copyright and License
arrow_back arrow_upward

Copyright and License

This documentation is copyright 2025 Matt Borland, and is distributed under the Boost Software License, Version 1.0.

Edit this Page
References