Scalar Types

Use the -T compiler option to change any of the basic types (see -T: Flexible Type Management). Scalar types (except char) do not have a signed/unsigned qualifier, and their default values are signed (for example, int is the same as signed int).

Note: When using Flexible type management, use Minimal Startup Code instead of ANSI startup code.

the following table gives the sizes and possible formats of the simple types using the -T option.

Table 1. Floating-Point Representation
Type Default Format Default Value Range Formats Available with the -T Option
Min Max
char (unsigned) 8 bit 0 255 8 bit, 16 bit, 32 bit
signed char 8 bit -128 127 8 bit, 16 bit, 32 bit
unsigned char 8 bit 0 255 8 bit, 16 bit, 32 bit
signed short 16 bit -32768 32767 8 bit, 16 bit, 32 bit
unsigned short 16 bit 0 65535 8 bit, 16 bit, 32 bit
enum (signed) 16 bit -32768 32767 8 bit, 16 bit, 32 bit
signed int 16 bit -32768 32767 8 bit, 16 bit, 32 bit
unsigned int 16 bit 0 65535 8 bit, 16 bit, 32 bit
signed long 32 bit -2147483648 2147483647 8 bit, 16 bit, 32 bit
unsigned long 32 bit 0 4294967295 8 bit, 16 bit, 32 bit
signed long long 32 bit -2147483648 2147483647 8 bit, 16 bit, 32 bit
unsigned long long 32 bit 0 4294967295 8 bit, 16 bit, 32 bit
Note: Default value for plain type char is unsigned. Use the -T option to change the default.