W3FI76

The W3FI76 routine converts to IBM370 floating point number.

USAGE:    CALL W3FI76 (FVAL, KEXP, KMANT, NBITS)

   Input argument list:
      PVAL     - FLOATING POINT NUMBER TO BE CONVERTED
      KBITS    - NUMBER OF BITS IN COMPUTER WORD (32 OR 64)

   Output argument list:
      KEXP     -  8 BIT SIGNED EXPONENT
      KMANT    - 24 BIT  MANTISSA  (FRACTION)

REMARKS:
        Subprogram can be called from a multiprocessing environment.

 
W3lib.tar Library contains Fortran 90 decoder/encoder routines for GRIB edition 1. (Fortran90)
Date posted: 2/22/2007