/** * @author Sean sean.snow@live.com * @date 2015/12/27 */ export declare class Long { /** * Returns the number of one-bits in the two's complement binary * representation of the specified {@code long} value. This function is * sometimes referred to as the population count. * * @param i the value whose bits are to be counted * @return Number the number of one-bits in the two's complement binary * representation of the specified {@code long} value. */ static bitCount(i: number): number; /** * Returns the number of zero bits preceding the highest-order * ("leftmost") one-bit in the two's complement binary representation * of the specified {@code long} value. Returns 64 if the * specified value has no one-bits in its two's complement representation, * in other words if it is equal to zero. * *
Note that this method is closely related to the logarithm base 2. * For all positive {@code long} values x: *