bitwise.ulshift() function
The bitwise.ulshift()
function is experimental and subject to change at any time.
By using this function, you accept the risks of experimental functions.
bitwise.ulshift()
shifts bits in a
left by b
bits.
Both a
and b
are unsigned integers.
import "experimental/bitwise"
bitwise.ulshift(a: uint(v: 12), b: uint(v: 21))
// Returns 25165824 (uint)
Parameters
a
Left operand.
b
Number of bits to shift.
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.