25 SUBROUTINE gbytes(IPACKD,IUNPKD,NOFF,NBITS,ISKIP,ITER)
38 jshift = -1 * nint(alog(float(nbitsw)) / alog(2.0))
41 masks(i) = 2 * masks(i-1) + 1
56 index = ishft(noff,jshift)
68 iwords = istep / nbitsw
72 ibits = mod(istep,nbitsw)
86 mover = nbitsw - movel
87 iunpkd(i) = iand(ior(ishft(ipackd(index+1),movel),
88 & ishft(ipackd(index+2),-mover)),mask)
92 ELSE IF (mover.GT.0)
THEN
93 iunpkd(i) = iand(ishft(ipackd(index+1),-mover),mask)
98 iunpkd(i) = iand(ipackd(index+1),mask)
104 index = index + iwords
105 IF (ii.GE.nbitsw)
THEN
subroutine gbytes(ipackd, iunpkd, noff, nbits, iskip, iter)
Program history log: