Sun Studio 12: Fortran Library Reference

2.1.10 Bit Manipulation Functions

Generic Intrinsic Name  

Description  

BTEST (I, POS)

Bit testing 

IAND (I, J)

Logical AND 

IBCLR (I, POS)

Clear bit 

IBITS (I, POS, LEN)

Bit extraction 

IBSET (I, POS)

Set bit 

IEOR (I, J)

Exclusive OR 

IOR (I, J)

Inclusive OR 

ISHFT (I, SHIFT)

Logical shift 

ISHFTC (I, SHIFT [, SIZE])

Circular shift 

NOT (I)

Logical complement