Scalar Types

All basic types may be changed with the -T option. Note that all scalar types (except char) have no signed/unsigned qualifier, and are considered signed by default, for example int is the same as signed int.

The sizes of the simple types are given by the table below together with the possible formats using the -T option:

Table 1. Scalar Types
Type Default Format Default Value Range Default Value Range Formats Available With Option -T
Min Max
char (unsigned) 8bit 0 255 8bit, 16bit, 32bit
singned char 8bit -128 127 8bit, 16bit, 32bit
unsigned char 8bit 0 255 8bit, 16bit, 32bit
signed short 16bit -32768 32767 8bit, 16bit, 32bit
unsigned short 16bit 0 65535 8bit, 16bit, 32bit
enum (signed) 16bit -32768 32767 8bit, 16bit, 32bit
signed int 16bit -32768 32767 8bit, 16bit, 32bit
unsigned int 16bit 0 65535 8bit, 16bit, 32bit
signed long 32bit -2147483648 2147483647 8bit, 16bit, 32bit
unsigned long 32bit 0 4294967295 8bit, 16bit, 32bit
signed long long 32bit -2147483648 2147483647 8bit, 16bit, 32bit
unsigned long long 32bit 0 4294967295 8bit, 16bit, 32bit
Note: Plain type char is unsigned. This default is changed with the -T option.