NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
w3fi76.f File Reference

Convert to ibm370 floating point. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fi76 (pval, kexp, kmant, kbits)
 Converts floating point number from machine representation to grib representation (ibm370 32 bit f.p.).
 

Detailed Description

Convert to ibm370 floating point.

Author
John Hennessy
Date
1985-09-15

Definition in file w3fi76.f.

Function/Subroutine Documentation

◆ w3fi76()

subroutine w3fi76 ( real  pval,
integer  kexp,
integer  kmant,
integer  kbits 
)

Converts floating point number from machine representation to grib representation (ibm370 32 bit f.p.).

Program history log:

  • John Hennessy 1985-09-15
  • Ralph Jones 1992-09-23 Change name, add doc block
  • Ralph Jones 1993-10-27 Change to agree with hennessy changes
  • Mark Iredell 1995-10-31 Removed saves and prints
  • Boi Vuong 1998-03-10 Remove the cdir$ integer=64 directive
Parameters
[in]PVALFloating point number to be converted
[in]KBITSNumber of bits in computer word (32 or 64)
[out]KEXP8 Bit signed exponent
[out]KMANT24 Bit mantissa (fraction)
Note
Subprogram can be called from a multiprocessing environment.
Author
John Hennessy
Date
1985-09-15

Definition at line 23 of file w3fi76.f.