Pike v8.1 release 6

Method Int.reflect()


Method reflect

int(0..) reflect(int value, int(0..) bits)

Description

Reverses the order of the low order bits number of bits of the value value.

Note

Any higher order bits of the value will be cleared. The returned value will thus be unsigned.

See also

reverse(), swap_word(), swap_long()