Next: NEAREST, Previous: MOVE_ALLOC, Up: Intrinsic Procedures [Contents][Index]
9.204 MVBITS — Move bits from one integer to another
- Description:
Moves LEN bits from positions FROMPOS through
FROMPOS+LEN-1of FROM to positions TOPOS throughTOPOS+LEN-1of TO. The portion of argument TO not affected by the movement of bits is unchanged. The values ofFROMPOS+LEN-1andTOPOS+LEN-1must be less thanBIT_SIZE(FROM).- Standard:
Fortran 90 and later, has overloads that are GNU extensions
- Class:
Elemental subroutine
- Syntax:
CALL MVBITS(FROM, FROMPOS, LEN, TO, TOPOS)- Arguments:
FROM The type shall be INTEGER.FROMPOS The type shall be INTEGER.LEN The type shall be INTEGER.TO The type shall be INTEGER, of the same kind as FROM.TOPOS The type shall be INTEGER.- Specific names:
Name Argument Return type Standard MVBITS(A)INTEGER AINTEGERFortran 90 and later BMVBITS(A)INTEGER(1) AINTEGER(1)GNU extension IMVBITS(A)INTEGER(2) AINTEGER(2)GNU extension JMVBITS(A)INTEGER(4) AINTEGER(4)GNU extension KMVBITS(A)INTEGER(8) AINTEGER(8)GNU extension - See also:
