Template Function Rose::BitOps::bitsLsb#
Defined in File BitOps.h
Function Documentation#
-
template<typename Unsigned>
inline Unsigned Rose::BitOps::bitsLsb(Unsigned src, size_t w, size_t least, size_t greatest)# Extract part of a value limited by width.
Extracts the bits in the range
leastthrough @greatest (inclusive) and shifts them right byleastbits. Any bits ofsrcat indexwor greater are treated as zeros.