Description: |
Returns the length (in bits) of the two's complement representation of an integer. | ||

Class: |
Elemental function; Generic | ||

Arguments: |
I must be of type integer. | ||

Results: |
The
result type is the same as I. The result value is
(LOG_{2}( I + 1 )) if I is not negative; otherwise, the result value is
(LOG_{2}( -I )). |

**Examples**

ILEN (4) has the value 3.

ILEN (-4) has the value 2.

Previous Page Next Page Table of Contents