MCPcopy Create free account
hub / github.com/Hawstein/cracking-the-coding-interview / swap_bits1

Function swap_bits1

5.6.cpp:17–19  ·  view source on GitHub ↗

x & 0xAAAAAAAA得出结果是unsigned,所以最高位为1时,右移1位,最高位是0

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected