MCPcopy Create free account
hub / github.com/NetHack/NetHack / lower_bits

Function lower_bits

src/isaac64.c:39–42  ·  view source on GitHub ↗

Extract ISAAC64_SZ_LOG bits (starting at bit 3). */

Source from the content-addressed store, hash-verified

37
38/* Extract ISAAC64_SZ_LOG bits (starting at bit 3). */
39static inline uint32_t lower_bits(uint64_t x)
40{
41 return (x & ((ISAAC64_SZ-1) << 3)) >>3;
42}
43
44/* Extract next ISAAC64_SZ_LOG bits (starting at bit ISAAC64_SZ_LOG+2). */
45static inline uint32_t upper_bits(uint64_t y)

Callers 1

isaac64_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected