Skip to content

Rose::BitOps::msb

Most significant bit.

Synopsis

Declared in <src/Rose/BitOps.h>

template<typename Unsigned>
bool
msb(Unsigned src);

Description

Returns the most significant bit. This is the sign bit for two's complement values.

Return Value

Most significant bit.

Parameters

Name

Description

src

Input value.

Created with MrDocs