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

Function unbcd

lib/core/utils.cc:219–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219uint32_t unbcd(uint32_t bcd)
220{
221 uint32_t dec = 0;
222
223 for (int i = 0; i < 8; i++)
224 {
225 dec = dec * 10 + (bcd >> 28);
226 bcd <<= 4;
227 }
228
229 return dec;
230}
231
232int findLowestSetBit(uint64_t value)
233{

Callers 2

LifDirentMethod · 0.85
testUnbcdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected