__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
__cntlz4
is a synonym of__builtin_clz
and the built-in function__cntlz8
is a synonym of__builtin_clzll
. - The built-in functions
__cntlz4
and__cntlz8
are 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.