C/C++ data type definitions
Table 1 includes data type definitions and their descriptions for C/C++.
Data type | Description | C/C++ |
---|---|---|
INT2 | A 2-byte signed integer | signed short |
INT4 | A 4-byte signed integer | signed int |
FLOAT4 | A 4-byte single-precision floating-point number | float |
FLOAT8 | An 8-byte double-precision floating-point number | double |
FLOAT16 | A 16-byte extended-precision floating-point number | long double |
COMPLEX8 | Short floating-point complex hex number: an 8-byte complex number, whose real and imaginary parts are each 4-byte single-precision floating-point numbers | Not available |
COMPLEX16 | Long floating-point complex hex number: a 16-byte complex number, whose real and imaginary parts are each 8-byte double-precision floating-point numbers | Not available |
COMPLEX32 | Extended floating-point hex number: a 32-byte complex number, whose real and imaginary parts are each 16-byte extended-precision floating-point numbers | Not available |
POINTER | A platform-dependent address pointer | void * |
CHARn | A string (character array) of length n | char[n] |
VSTRING | A halfword length-prefixed character string (for input); fixed-length 80-character string (for output) |
|
FEED_BACK | A mapping of the condition token (fc) |
|
CEE_ENTRY | An HLL-dependent entry constant | FUNCTION POINTER |