NCEPLIBS-bufr
12.0.0
|
Encode an 8-byte integer value within an integer array. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | pkb8 (nval, nbits, ibay, ibit) |
This subroutine encodes an 8-byte integer value within a specified number of bits of an integer array, starting at the bit immediately after a specified bit within the array. More... | |
subroutine pkb8 | ( | integer(8) | nval, |
integer(4) | nbits, | ||
integer(4), dimension(*) | ibay, | ||
integer(4) | ibit | ||
) |
This subroutine encodes an 8-byte integer value within a specified number of bits of an integer array, starting at the bit immediately after a specified bit within the array.
This subroutine will not work properly if NBITS is less than 0 or greater than 64, as determined via an internal call to subroutine wrdlen().
This subroutine is the logical inverse of subroutine up8().
[in] | NVAL | - integer*8: Value to be encoded. |
[in] | NBITS | - integer: Number of bits of IBAY within which to encode NVAL. Must be between 0 and 64. |
[out] | IBAY | - integer(*): Array containing encoded NVAL. |
[in,out] | IBIT | - integer: Bit pointer within IBAY
|