NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
w3fi03.f
Go to the documentation of this file.
1C> @file
2C> @brief Transfers default integers to 16 bit ints.
3C> @author Dennis Keyser @date 1992-06-29
4
5C> Transfers an array of numbers from default integer
6C> words to 16 bit (IBM integer*2) IBM half-words.
7C>
8C> Program history log:
9C> - Dennis Keyser 1992-06-29
10C> - Stephen Gilbert 1998-11-17 Removed Cray references.
11C>
12C> @param[in] IN Starting address for array of default integers
13C> @param[in] NUM Number of numbers in 'IN' to transfer.
14C> @param[out] IDEST Starting address for array of 16 bit IBM half-words
15C> @param[out] IER Error return code as follows:
16C> IER = 0 - Transfer successful, all numbers
17C> - Transferred without overflow.
18C> IER = 1 - The transfer of one or more numbers
19C> - Resulted in an overflow.
20C>
21C> @note This is the inverse of library routine w3fi02().
22C>
23C> @author Dennis Keyser @date 1992-06-29
24 SUBROUTINE w3fi03(IN,IDEST,NUM,IER)
25C
26 INTEGER(2) IDEST(*)
27 INTEGER IN(*)
28C
29 SAVE
30C
31C CALL USICTI(IN,IDEST,1,NUM,2,IER)
32 idest(1:num)=in(1:num)
33C
34 RETURN
35 END
subroutine w3fi03(in, idest, num, ier)
Transfers an array of numbers from default integer words to 16 bit (IBM integer*2) IBM half-words.
Definition w3fi03.f:25