35 subroutine pkb8(nval,nbits,ibay,ibit)
37 common /hrdwrd/ nbytw,nbitw,iord(8)
40 integer(4) :: nbits,ibit,ibay(*)
44 integer(4) :: nvals(2)
46 equivalence(nval8,nvals)
48 if(nbits<0 )
call bort(
'bufrlib: pkb8 - nbits < zero !!!!!')
49 if(nbits>64)
call bort(
'bufrlib: pkb8 - nbits > 64 !!!!!')
53 nval4=nvals(2);
call pkb(nval4,max(nbits-nbitw,0),ibay,ibit)
54 nval4=nvals(1);
call pkb(nval4,min(nbits,nbitw ),ibay,ibit)
56 call pkb(nval,nbits,ibay,ibit)
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
subroutine pkb8(nval, nbits, ibay, ibit)
This subroutine encodes an 8-byte integer value within a specified number of bits of an integer array...
subroutine pkb(NVAL, NBITS, IBAY, IBIT)
This subroutine encodes an integer value within a specified number of bits of an integer array,...