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