Main Content
bitror
Bitwise rotate right
Syntax
Description
c = bitror(
returns
the value of the fixed-point a
, k
)fi
object, a
,
rotated right by k
bits. bitror
rotates
bits from the least significant bit (LSB) side into the most significant
bit (MSB) side. It performs the rotate right operation on the stored
integer bits of a
.
bitror
does not check overflow or underflow.
It ignores fimath
properties such as RoundingMode
and OverflowAction
.
a
and c
have the same fimath
and numerictype
properties.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2007b