ProtoFlux:Shift Left

From Resonite Wiki
Revision as of 18:29, 29 June 2024 by Yosh (talk | contribs) (clarify and cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< <
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