[object Object][object Object][object Object]undefined
[object Object]

Calculates the number of consecutive bits, starting from the most significant value bit, that are the same as the sign bit in the binary representation of an int64_t number.

  • Example: int64_t value = 0x0f00000000000000;

    The sign bit is 0. Starting from the most significant value bit (excluding the sign bit), the number of consecutive bits that are the same as the sign bit is 3, so 3 is returned.

[object Object]
[object Object]
[object Object][object Object]undefined
[object Object]

Returns the number of consecutive bits starting from the most significant value bit that are the same as the sign bit. The data type is int64_t.

[object Object]

PIPE_S

[object Object]

When the input is -1 (all bits are 1) or 0 (all bits are 0), returns -1.

[object Object]
[object Object]