ms1

SpecialNodes ms1

input ports:
Name Type Description Optional

a

?0

number

no

output ports:
Name Type Description Optional

b

int

position of the most significant 1 bit in a

no

ls1 outputs the bit position of the most significant 1 bit in its input. It is an error if its input is zero.