MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / GetBit

Method GetBit

Int.cpp:1116–1123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1114
1115
1116int Int::GetBit(uint32_t n) {
1117
1118 uint32_t byte = n>>5;
1119 uint32_t bit = n&31;
1120 uint32_t mask = 1 << bit;
1121 return (bits[byte] & mask)!=0;
1122
1123}
1124
1125// ------------------------------------------------
1126

Callers 2

GCDMethod · 0.80
ModExpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected