Technical data
Cray Standard C/C++ Reference Manual
10.1.2.1 Identifiers
The identifier (as defined by the standards) is merely a sequence of letters and
digits. Specific uses of identifiers are called names.
The Cray C compiler treats the first 255 characters of a name as significant,
regardless of whether it is an internal or external name. The case of names,
including external names, is significant. In Cray Standard C++, all characters of a
name are significant.
10.1.2.2 Types
Table 6, page 142 summarizes Cray C and C++ types and the characteristics of
each type. Representation is the number of bits used to represent an object of that
type. Memory is the number of storage bits that an object of that type occupies.
In the Cray C and C++ compilers, size, in the context of the sizeof operator,
refers to the size allocated to store the operand in memory; it does not refer to
representation, as specified in Table 6, page 142. Thus, the sizeof operator will
return a size that is equal to the value in the Memory column of Table 6, page 142
divided by 8 (the number of bits in a byte).
Table 6. Data Type Mapping
UNICOS UNICOS/mk
Type Representation (bits) Memory (bits)
Representation
(bits) Memory (bits)
bool
(Cray Standard C++
only)
8888
char 8888
wchar_t
(Cray Standard C++
only)
64 64 64 64
short 32 64 32 32
int
46/64
1
64 64 64
1
Depends on use of the
-h [no]fastmd option. This option is described in Section 2.15.2, page 26
142 S–2179–36










