function isPowerOfTwo(number) {
    // Check if the number is greater than 0 and has only one bit set to 1
    return (number > 0) && ((number & (number - 1)) === 0);
}
@type {T extends bigint[]|BigTypedArray ? [bigint, number] : [number, number]}