MCPcopy Create free account
hub / github.com/Exely/CSAPP-Labs / logicalShift

Function logicalShift

labs/data/bits.c:163–171  ·  view source on GitHub ↗

* logicalShift - shift x to the right by n, using a logical shift * Can assume that 0 <= n <= 31 * Examples: logicalShift(0x87654321,4) = 0x08765432 * Legal ops: ! ~ & ^ | + << >> * Max ops: 20 * Rating: 3 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected