MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / findLowestSetBit

Function findLowestSetBit

lib/core/utils.cc:232–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232int findLowestSetBit(uint64_t value)
233{
234 if (!value)
235 return 0;
236 int bit = 1;
237 while (!(value & 1))
238 {
239 value >>= 1;
240 bit++;
241 }
242 return bit;
243}
244
245double getCurrentTime(void)
246{

Callers 1

FluxPatternMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected