NCEPLIBS-w3emc 2.12.0
|
This is the fortran version of gbyte. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | gbyte (ipackd, iunpkd, noff, nbits) |
This is the fortran version of gbyte. | |
subroutine gbyte | ( | integer, dimension(*) | ipackd, |
integer | iunpkd, | ||
noff, | |||
nbits | |||
) |
This is the fortran version of gbyte.
Program history log:
To unpack a byte into a target word. The unpacked byte is right-justified in the target word, and the remainder of the word is zero-filled.
[in] | IPACKD | The word or array containing the byte to be unpacked. |
[out] | IUNPKD | The word which will contain the unpacked byte. |
[in] | NOFF | The number of bits to skip, left to right, in IPACKD in order to locate the byte to be unpacked. |
[in] | NBITS | Number of bits in the byte to be unpacked. Maximum of 64 bits on 64 bit machine, 32 bits on 32 bit machine. |