Merge branch 'upsilon-dev' of https://github.com/UpsilonNumworks/Upsilon into upsilon-dev

This commit is contained in:
Laury
2022-05-09 18:40:45 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ char ones[Config::ExamModeBufferSize]
constexpr static size_t numberOfBitsInByte = 8;
// if i = 0b000011101, firstOneBitInByte(i) returns 5
// if i = 0b000011101, numberOfBitsAfterLeadingZeroes(i) returns 5
size_t numberOfBitsAfterLeadingZeroes(int i) {
int minShift = 0;
int maxShift = numberOfBitsInByte;