XL Fortran for AIX 8.1

Language Reference

+-------------------------------IBM Extension--------------------------------+


ILEN(I)

Returns one less than the length, in bits, of the twos complement representation of an integer.

I
is of type integer

Class

Elemental function

Result Type and Attributes

Same as I.

Result Value

Examples

I=ILEN(4)  ! 3
J=ILEN(-4) ! 2

+----------------------------End of IBM Extension----------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]