| Namespace | Description |
|---|---|
|
Contains all components of the library except |
User-defined literals for 128-bit integers |
|
|
| Structure | Description |
|---|---|
Numeric limits specialization for |
|
Numeric limits specialization for |
|
Hash specialization for |
|
Hash specialization for |
|
Result type for |
|
Result type for |
Listed by analogous STL header.
| Function | Description |
|---|---|
Checks if value is a power of two |
|
Counts leading zeros |
|
Counts leading ones |
|
Returns minimum bits needed to represent value |
|
Rounds up to nearest power of two |
|
Rounds down to nearest power of two |
|
Counts trailing zeros |
|
Counts trailing ones |
|
Rotates bits left |
|
Rotates bits right |
|
Counts number of set bits |
|
Reverses byte order |
| Function | Description |
|---|---|
Converts integer to character sequence |
|
Converts character sequence to integer |
| Function | Description |
|---|---|
Absolute value |
| Specialization | Description |
|---|---|
Enables |
|
Enables |
| Library | Description |
|---|---|
C++20 |
|
|
| Operator | Description |
|---|---|
Stream insertion operator |
|
Stream extraction operator |
| Manipulator | Description |
|---|---|
Octal output format |
|
Decimal output format |
|
Hexadecimal output format |
|
Uppercase hex digits |
|
Lowercase hex digits |
| Function | Description |
|---|---|
Saturating addition |
|
Saturating subtraction |
|
Saturating multiplication |
|
Saturating division |
|
Saturating type cast |
|
Greatest common divisor |
|
Least common multiple |
|
Midpoint between two values |
| Function | Description |
|---|---|
Modular exponentiation |
|
Integer power |
|
Integer square root |
|
Checked addition (C23 |
|
Checked subtraction (C23 |
|
Checked multiplication (C23 |
| Macro | Description |
|---|---|
|
Maximum value for |
|
Maximum value for |
|
Minimum value for |
| Macro | Description |
|---|---|
Unsigned 128-bit constant macro |
|
Signed 128-bit constant macro |
| Macro | Description |
|---|---|
Disables use of compiler built-in |
|
Disables exception throwing |
|
Enables CUDA support allowing the library types and functions to be run on both host and device |
| Macro | Description |
|---|---|
Defined if compiler provides |
|
Defined on little-endian systems |
|
Defined on big-endian systems |
|
Expands to |
| Header | Contents |
|---|---|
|
Convenience header including the entire library |
Bit manipulation functions |
|
Character conversion functions |
|
|
Min and max macros |
Combined division and modulo function |
|
Formatting integration for {fmt} |
|
Formatting integration for C++20 |
|
|
|
|
|
Iostream overloads for |
|
|
Overloads for |
User-defined literals for |
|
Numeric algorithms (gcd, lcm, midpoint) |
|
|
|
|
Required for usage of Boost.Random |
Modular exponentiation and other library-specific utilities |