Extended Integer Types: __int8, __int16, __int32, __int64
Go Up to Keywords, Alphabetical Listing Index
Category
Description
You can specify the size for integer types (number of bits occupied in memory).
You must use the appropriate suffix (i16, ui32, and so on) using extended integer constants.
Extended integer types
Type | Suffix in constants | Example | Storage |
---|---|---|---|
__int8 |
i8 |
|
8 bits |
unsigned __int8 |
ui8 |
|
8 bits |
__int16 |
i16 |
|
16 bits |
unsigned __int16 |
ui16 |
|
16 bits |
__int32 |
i32 |
|
32 bits |
unsigned __int32 |
ui32 |
|
32 bits |
__int64 |
i64 |
|
64 bits |
unsigned __int64 |
ui64 |
|
64 bits |