Template Function Rose::BitOps::rotateRightLsb#
Defined in File BitOps.h
Function Documentation#
-
template<typename Unsigned>
inline Unsigned Rose::BitOps::rotateRightLsb(Unsigned src, size_t w, size_t n)# Rotate low-order bits right without affecting others.
Rotates the low-order
wbits ofsrcright bynbits without affecting the higher-order bits, and returns the result. The rotation amount is modulow. Ifwis zero then the original value is returned.