abla/bits
Generated from source.
Import with import "abla/bits".
Source: abla/bits/entry.ab
bitAnd (fun)
fun bitAnd(left: int, right: int): int
Returns the bitwise intersection of the 64-bit patterns of left and right.
bitOr (fun)
fun bitOr(left: int, right: int): int
Returns the bitwise union of the 64-bit patterns of left and right.
bitXor (fun)
fun bitXor(left: int, right: int): int
Returns the 64-bit pattern whose bits differ between left and right.
bitNot (fun)
fun bitNot(value: int): int
Returns the 64-bit pattern obtained by flipping every bit of value.
bitShiftLeft (fun)
fun bitShiftLeft(value: int, count: int): int
Shifts value left by count bits, discarding high bits and filling with zeros. Returns zero for counts outside 0–63.
bitShiftRight (fun)
fun bitShiftRight(value: int, count: int): int
Shifts value right by count bits, copying the sign bit into the high bits. Returns zero for counts outside 0–63.
bitShiftRightUnsigned (fun)
fun bitShiftRightUnsigned(value: int, count: int): int
Shifts the bit pattern of value right by count bits, filling with zeros. Returns zero for counts outside 0–63.
Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.