Functions | ||||
(C23) | ||||
(C23) | ||||
(C23) | ||||
(C23) | ||||
(C23) | ||||
(C23) | ||||
(C23) | ||||
(C23) | ||||
(C23) | ||||
(C23) | ||||
Macro constants | ||||
Functions | ||
Defined in header <stdbit.h> | ||
(C23) | counts the number of consecutive0 bits, starting from the most significant bit (type-generic function macro)[edit] | |
(C23) | counts the number of consecutive1 bits, starting from the most significant bit (type-generic function macro)[edit] | |
(C23) | counts the number of consecutive0 bits, starting from the least significant bit (type-generic function macro)[edit] | |
(C23) | counts the number of consecutive1 bits, starting from the least significant bit (type-generic function macro)[edit] | |
finds the first position of0 bit, starting from the most significant bit (type-generic function macro)[edit] | ||
finds the first position of1 bit, starting from the most significant bit (type-generic function macro)[edit] | ||
finds the first position of0 bit, starting from the least significant bit (type-generic function macro)[edit] | ||
finds the first position of1 bit, starting from the least significant bit (type-generic function macro)[edit] | ||
(C23) | counts the number of0 bits in an unsigned integer (type-generic function macro)[edit] | |
(C23) | counts the number of1 bits in an unsigned integer (type-generic function macro)[edit] | |
(C23) | checks if a number is an integral power of2 (type-generic function macro)[edit] | |
(C23) | finds the smallest number of bits needed to represent the given value (type-generic function macro)[edit] | |
(C23) | finds the largest integral power of2 not greater than the given value (type-generic function macro)[edit] | |
(C23) | finds the smallest integral power of2 not less than the given value (type-generic function macro)[edit] | |
Macro constants | ||
Defined in header <stdbit.h> | ||
indicates the endianness of scalar types (macro constant)[edit] |
C++ documentation forBit manipulation |