[UP]


Manual Reference Pages  - mvbits (3)

NAME

mvbits(3f) - [FORTRAN:INTRINSIC:BIT MANIPULATION] Move bits from one integer to another

SYNTAX

call mvbits(from, frompos, len, to, topos)

DESCRIPTION

Moves LEN bits from positions FROMPOS through frompos+len-1 of FROM to positions TOPOS through topos+len-1 of TO. The portion of argument TO not affected by the movement of bits is unchanged. The values of frompos+len-1 and topos+len-1 must be less than bit_size(from).

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.

STANDARD

[[Fortran 95]] and later

CLASS

[[Elemental subroutine]]

SEE ALSO

ibclr(3), ibset(3), ibits(3), iand(3), ior(3)


mvbits (3) March 11, 2021
Generated by manServer 1.08 from ba7d5311-e550-43dd-9377-6388fa1705c7 using man macros.