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

Function clz64

tests/Issue681.cpp:10–13  ·  view source on GitHub ↗

WARNING: undefined if a = 0 */

Source from the content-addressed store, hash-verified

8
9/* WARNING: undefined if a = 0 */
10static inline int clz64(uint64_t a)
11{
12 return __builtin_clzll(a);
13}
14
15/* WARNING: undefined if a = 0 */
16static inline int ctz32(unsigned int a)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected