bshift(i, n)
Return the result of arithmetically shifting the integer i by n bits.
i
n
If n is negative, the bits are shifted right. Otherwise, the bits are shifted left.
bshift(23, 1) // 46 bshift(-105, -1) // -53
Core Module Index | Contents