ProtoFlux:Shift Left

From Resonite Wiki
< <
A
*
Shift
Boolean

The Shift Left node performs a logical shift of every bit of the input bool vector or integer to the left. Shifting is the act of moving each bit of the input to the left by the shift amount, where bits that fall off the end are lost.

Inputs

A (Pseudo-Generic)

The value to shift.

Shift (int)

The amount to shift A to the left. If the type being shifted is Long or Type:Ulong, the shift amount is determined by the lowest six bits of Shift. Otherwise, it is determined by the lowest five bits of Shift.

Outputs

* (Pseudo-Generic)

The shifted value.

Further Reading

Videos

See Also