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

Function upper_bits

src/isaac64.c:45–48  ·  view source on GitHub ↗

Extract next ISAAC64_SZ_LOG bits (starting at bit ISAAC64_SZ_LOG+2). */

Source from the content-addressed store, hash-verified

43
44/* Extract next ISAAC64_SZ_LOG bits (starting at bit ISAAC64_SZ_LOG+2). */
45static inline uint32_t upper_bits(uint64_t y)
46{
47 return (y >> (ISAAC64_SZ_LOG+3)) & (ISAAC64_SZ-1);
48}
49
50staticfn void isaac64_update(isaac64_ctx *_ctx){
51 uint64_t *m;

Callers 1

isaac64_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected