API Reference
Types
Functions
Character Conversion
| Function | Description |
|---|---|
Converts a safe integer to a character string |
|
Parses a character string into a safe integer |
Bit Manipulation
| Function | Description |
|---|---|
Returns |
|
Returns the smallest power of two not less than the value |
|
Returns the largest power of two not greater than the value |
|
Returns the number of bits needed to represent the value |
|
Bitwise left rotation |
|
Bitwise right rotation |
|
Counts consecutive zero bits from the most significant bit |
|
Counts consecutive one bits from the most significant bit |
|
Counts consecutive zero bits from the least significant bit |
|
Counts consecutive one bits from the least significant bit |
|
Returns the number of set bits |
|
Reverses the bytes of the value |
Arithmetic
| Function | Description |
|---|---|
|
Saturating arithmetic (clamp to min/max on overflow) |
|
Overflowing arithmetic (wrap and return overflow flag) |
|
Checked arithmetic (return |
|
Wrapping arithmetic (wrap silently) |
Strict arithmetic (call |
|
Generic policy-parameterized arithmetic (takes |
Headers
| Header | Contents |
|---|---|
|
Convenience header including all library types |
|
Bit manipulation functions ( |
|
Character conversion functions ( |
|
Support for library types to |
|
Contains specializations of |
|
Stream I/O operators ( |
|
Contains specializations of |
|
User-defined literal suffixes ( |
|
The |
|
All unsigned safe integer types ( |