__cntlz4, __builtin_clz, __cntlz8, __builtin_clzll
Purpose
Count Leading Zeros, 4/8-byte integer
Prototype
int __builtin_clz (unsigned int);
int __builtin_clzll (unsigned long long);
int __cntlz4 (unsigned int);
int __cntlz8 (unsigned long long);
Note:
- The built-in function
__cntlz4is a synonym of__builtin_clzand the built-in function__cntlz8is a synonym of__builtin_clzll. - The built-in functions
__cntlz4and__cntlz8are provided for compatibility with IBM® XL C/C++ for AIX® 16.1 or earlier releases. This built-in function might be deprecated in the future.