Bitwise.bsl

You're seeing just the function bsl, go back to Bitwise module for more information.

Specs

bsl(integer(), integer()) :: integer()

Calculates the result of an arithmetic left bitshift.

Allowed in guard tests. Inlined by the compiler.

Examples

iex> bsl(1, 2)
4

iex> bsl(1, -2)
0

iex> bsl(-1, 2)
-4

iex> bsl(-1, -2)
-1