Accelerator Manual (G06.24+, H06.03+)

Data Type Correspondence and Return Value Sizes
Accelerator Manual527303-002
A-3
Table A-2. Integer Types, Part 2
64-Bit Integer
Bit Integer of 1 to 31
Bits Decimal Integer
BASIC INT(64)
FIXED(0)
-- --
C long long -- --
COBOL PICS9(n) COMP or PIC 9(n)
COMP without P or V, 10
n18
-- Numeric DISPLAY
FORTRAN INTEGER*8 -- --
Pascal INT64 UNSIGNED(n), 1
n16
INT(n) 1
n16
DECIMAL
SQL NUMERIC(10)...NUMERIC(18)
PIC9(10)COMP...PIC9(18)
COMP INTEGER
-- DECIMAL (n,s)
PIC9(n) DISPLAY
TAL FIXED(0) UNSIGNED(n), 1
n31 --
Return Value
Size (Words)
4 1 or 2 in TAL 1 or 2, depends on
declared pointer
size
Table A-3. Floating, Fixed, and Complex Types
32-Bit Floating 64-Bit Floating 64-Bit Fixed Point 64-Bit Complex
BASIC REAL REAL(64) FIXED(s), 0
s18 --
C float double -- --
COBOL----PIC S9(ns)v9(s) COMP
or PIC 9(n–s)v9(s)
COMP, 10
n18
--
FORTRAN REAL DOUBLE
PRECISION
-- COMPLEX
Pascal REAWL LONGREAL -- --
SQL -- -- NUMERIC (n,s)
PIC 9(n-s)v9(s) COMP
--
TAL REAL REAL(64) FIXED(s), -19
s19 --
Return Value
Size (Words)
244 4