System.Longint
Delphi
type Longint = { built-in type };
C++
typedef int Longint; // -2147483648..2147483647
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
type typedef |
public | System.pas sysmac.h |
System | System |
Description
Platform-dependent signed integer type.
LongInt represents a subset of the natural numbers. LongInt size and range depend on the target platform:
- On 32-bit platforms and 64-bit Windows platforms, LongInt is an 4-byte signed integer with the range
[-2147483648 .. 2147483647]. (-2-31through232-1).
- Note: 32-bit platforms include 32-bit Windows and Android.
- On 64-bit POSIX platforms (Android, iOS, Linux, and macOS), LongInt is an 8-byte signed integer with the range
[-9223372036854775808 .. 9223372036854775807](-263through263-1).