MCPcopy Create free account
hub / github.com/c3d/tao3D / BitCount

Method BitCount

libcryptopp/cryptopp/integer.cpp:3054–3061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3052}
3053
3054unsigned int Integer::BitCount() const
3055{
3056 unsigned wordCount = WordCount();
3057 if (wordCount)
3058 return (wordCount-1)*WORD_BITS + BitPrecision(reg[wordCount-1]);
3059 else
3060 return 0;
3061}
3062
3063void Integer::Decode(const byte *input, size_t inputLen, Signedness s)
3064{

Callers 2

RandomizeMethod · 0.45
integer.cppFile · 0.45

Calls 1

BitPrecisionFunction · 0.85

Tested by

no test coverage detected