Computes a mask that prevents overflow of HyperLogLog registers. @param registerSizeInBits the size of the HLL registers, in bits. @return mask a long mask to prevent overflow of the registers @see #registerBitSize(long)
(final int registerSizeInBits)
| 140 | * @see #registerBitSize(long) |
| 141 | */ |
| 142 | public static long pwMaxMask(final int registerSizeInBits) { |
| 143 | return PW_MASK[registerSizeInBits]; |
| 144 | } |
| 145 | |
| 146 | // ======================================================================== |
| 147 | /** |