Main Content
bitsll
Bit shift left logical
Syntax
Description
c = bitsll(
returns the result of a logical left shift by a
, k
)k
bits
on input a
for fixed-point operations. bitsll
shifts
zeros into the positions of bits that it shifts left. The function
does not check overflow or underflow. For floating-point operations, bitsll
performs
a multiply by 2k
.
bitsll
ignores fimath
properties
such as RoundingMode
and OverflowAction
.
When a
is a fi
object, a
and c
have
the same associated fimath
and numerictype
objects.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2007b