Documentation

bitwise.slshift() function

Flux 0.138.0+

The bitwise.slshift() function is experimental and subject to change at any time. By using this function, you accept the risks of experimental functions.

bitwise.slshift() shifts bits in a left by b bits. Both a and b are integers.

import "experimental/bitwise"

bitwise.slshift(
  a: 12,
  b: 21
)

// Returns 25165824

Parameters

a

Left operand.

b

Number of bits to shift.


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.