Skip to content

Rose::BitOps::msbLsb

Most significant bit within lsb region.

Synopsis

Declared in <src/Rose/BitOps.h>

template<typename Unsigned>
bool
msbLsb(
    Unsigned src,
    size_t w);

Description

Returns the value of the most significant bit within the region of w low‐order bits. If w is zero then returns false.

Return Value

Most significant bit within the region.

Parameters

Name

Description

src

Input value.

w

Width of the low‐order region.

Created with MrDocs