NCEPLIBS-w3emc  2.11.0
w3fi03.f File Reference

Transfers default integers to 16 bit ints. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fi03 (IN, IDEST, NUM, IER)
 Transfers an array of numbers from default integer words to 16 bit (IBM integer*2) IBM half-words. More...
 

Detailed Description

Transfers default integers to 16 bit ints.

Author
Dennis Keyser
Date
1992-06-29

Definition in file w3fi03.f.

Function/Subroutine Documentation

◆ w3fi03()

subroutine w3fi03 ( integer, dimension(*)  IN,
integer(2), dimension(*)  IDEST,
  NUM,
  IER 
)

Transfers an array of numbers from default integer words to 16 bit (IBM integer*2) IBM half-words.

Program history log:

  • Dennis Keyser 1992-06-29
  • Stephen Gilbert 1998-11-17 Removed Cray references.
Parameters
[in]INStarting address for array of default integers
[in]NUMNumber of numbers in 'IN' to transfer.
[out]IDESTStarting address for array of 16 bit IBM half-words
[out]IERError return code as follows: IER = 0 - Transfer successful, all numbers
  • Transferred without overflow. IER = 1 - The transfer of one or more numbers
  • Resulted in an overflow.
Note
This is the inverse of library routine w3fi02().
Author
Dennis Keyser
Date
1992-06-29

Definition at line 24 of file w3fi03.f.