-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
Hi @gpakosz ,
Greeting from me!
I am reading PackedArray's code, and come across the following statement:
packed |= *out & ~((uint32_t)(1ULL << ((((uint64_t)count * (uint64_t)PACKEDARRAY_IMPL_BITS_PER_ITEM + startBit - 1) % 32) + 1)) - 1);
Why not just use:
packed |= *out & ~((uint32_t)(1ULL << (((uint64_t)count * (uint64_t)PACKEDARRAY_IMPL_BITS_PER_ITEM + startBit) % 32)) - 1)
What is the difference between these two methods?
Thanks very much in advance!
Bets Regards
Nan Xiao
Reactions are currently unavailable