    

 ## On this page

  

 

 # ShiftBitLt

 Last update: 09.03.2026 

Returns the input with all bits shifted to the left by a number. The least significant bits (right-most bit) are replaced by 0 and the most significant bits (left-most bit) are discarded. This is equivalent to the operator lsl.

## Interface

NameKindTypeCommentNPN/ASize of the bit-fieldbfIunsigned&lt;&lt;N&gt;&gt;Input bit-fieldlIIntegerNumber of bits to shift  
Range: \[0, N\[vOunsigned&lt;&lt;N&gt;&gt;Result of the operation**Parent topic:**[Bitfield](./bitfield.md)