Template Function Rose::BitOps::bitLsb

Template Function Rose::BitOps::bitLsb#

Function Documentation#

template<typename Unsigned>
inline bool Rose::BitOps::bitLsb(Unsigned src, size_t w, size_t i)#

Extract a single bit.

The bit at position i of value src is returned. If i is out of range for the specified value width then zero is returned.