bitShiftLong

fun bitShiftLong(value: Long, leftShift: Int): Long

Note: This is a logical shift without Java's implicit modulus on the shift amount.

Return

The shifted integer, modulus 2^64 then cast to long.

Parameters

value

The value to shift.

leftShift

The amount to shift left. If negative, shift right by the corresponding positive amount.