I was surprised to see in src/readelf.c that how the % of bits sets in the Bloom filter bitset is computed.

The formula taken is the following:

%set = (nbits * 100 + 50) / (nb_bitmask_words * sizeof(bitmask_word) * 8);

Do you have any hint on why there is this + 50 that corresponds to adding half a bit in the bit set ?

Regards,

Colin