RAD Studio |  |

__int8, __int16, __int32, __int64, Unsigned __int64, Extended Integer Types
See Also
Collapse All

Category

Keyword extensions

Description

You can specify the size for integer types. You must use the appropriate suffix when using extended integers.

Type | Suffix | Example | Storage
__int8 | i8 | __int8 c = 127i8; | 8 bits
__int16 | i16 | __int16 s = 32767i16; | 16 bits
__int32 | i32 | __int32 i = 123456789i32; | 32 bits
__int64 | i64 | __int64 big = 12345654321i64; | 64 bits
unsigned __int64 | ui64 | unsigned __int64 hugeInt = 1234567887654321ui64; | 64 bits

See Also

Constants

Integer Constants

Integer Constant Without L Or U

Floating Point Constants

Character Constants

The Three Char Types

Escape Sequences

Wide-character And Multi-character Constants

String Constants

Enumeration Constants

Constants And Internal Representation

Internal Representation Of Numerical Types

Constant Expressions

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!