data types Technical Information data types
The following table gives the data types that COHERENT recog-
nizes:
char
double
float
int
long
long float
long int
short
short int
unsigned int
unsigned long int
unsigned long
unsigned char
unsigned short
unsigned short int
The terms long and long int, as are the terms short and short
int, double and long float, unsigned short int and unsigned
short, and unsigned long int and unsigned long. The type un-
signed char was added to the language by the ANSI Standard; be-
cause COHERENT uses signed chars by default, you must declare a
char to be unsigned if you want it to be so. If this type is
used in arithmetic expressions, it is automatically cast to un-
signed int.
***** See Also *****
C language, char, data formats, double, float, int, long,
pointer, short, technical information, unsigned
COHERENT Lexicon Page 1