MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / clz32

Function clz32

tests/Issue681.cpp:4–7  ·  view source on GitHub ↗

WARNING: undefined if a = 0 */

Source from the content-addressed store, hash-verified

2
3/* WARNING: undefined if a = 0 */
4static inline int clz32(unsigned int a)
5{
6 return __builtin_clz(a);
7}
8
9/* WARNING: undefined if a = 0 */
10static inline int clz64(uint64_t a)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected