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