highBit

Return the index of the highest set bit T is an uinteger type

size_t
highBit
(
T
)
(
T n
)
if (
!isPointer!T
)

Parameters

n T

an integer value

Return Value

Type: size_t

index of the highest set bit in n

Meta