NCEPLIBS-w3emc  2.11.0
gbyte.f File Reference

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. More...
 

Detailed Description

This is the fortran version of gbyte.

Author
Dr. Robert C. Gammill
Date
1972-05-DD

Definition in file gbyte.f.

Function/Subroutine Documentation

◆ gbyte()

subroutine gbyte ( integer, dimension(*)  IPACKD,
integer  IUNPKD,
  NOFF,
  NBITS 
)

This is the fortran version of gbyte.

Program history log:

  • Russell E. Jones 1991-03-DD Changes for SiliconGraphics IRIS-4D/25 SiliconGraphics 3.3 FORTRAN 77.

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.

Parameters
[in]IPACKDThe word or array containing the byte to be unpacked.
[out]IUNPKDThe word which will contain the unpacked byte.
[in]NOFFThe number of bits to skip, left to right, in IPACKD in order to locate the byte to be unpacked.
[in]NBITSNumber of bits in the byte to be unpacked. Maximum of 64 bits on 64 bit machine, 32 bits on 32 bit machine.
Author
Dr. Robert C. Gammill
Date
1972-05-DD

Definition at line 26 of file gbyte.f.