8.180 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 95 and later
- 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. - See also:
- IBCLR, IBSET, IBITS, IAND, IOR, IEOR
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-4.9.3/gfortran/MVBITS.html