User`s guide
Data Types [E]
This chapter provides information about the C and C++ language data types that
you can use with Cray XMT compilers.
The floating-point types are float, double, and long double. Their sizes are
4, 8, and 16 bytes, respectively.
The integer types short and unsigned short are each 4 bytes long. The data
types int, long, long long, and their unsigned equivalents are each 8 bytes
long. The compiler flag -short16 converts all short and unsigned short
integers to 2 bytes. The compiler flag -i4 converts all short and unsigned
short integers to 2 bytes and all int and unsigned int to 4 bytes.
The two character types char and unsigned char are each 1 byte long.
Additionally, the C++ compiler supports a 1-byte boolean type, bool, and the
boolean constants true and false. The compiler flag -no_bool turns off
recognition of these three keywords.
S–2479–20 137