NUMMIRRX()

$SYNTAX$

Arguments

<SignificativeBits> Designate a number in the range of 0 to 32, indicating the LSB of nLONGx|cHexLONGx that will be used.

<nLONG | cHexLONG> Designate either decimal or hexadecimal number string.

Returns

NUMMIRR() returns a value by which the bit opposite the first parameter is mirrored.

Description

This function is similar to NUMMIRR() function with a significative change. The first parameter indicate the quantity of lower bits of nLONG are used. When you mirror bit, bit 1 interchanges with bit <nSignificativeBits>, bit 2 with bit <nSignificativeBits> - 1, etc.. The not mirrored bits is not moved.

TODO: add documentation

Status

Started

Compliance

NUMMIRRX() is a new function in the CT3-library for Harbour.

Platforms

All

Files

Source is bit3.c, library is libct.

See Also