System.Longint
Delphi
type Longint = { built-in type };
C++
typedef int Longint; // -2147483648..2147483647
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
type typedef |
public | System.pas sysmac.h |
System | System |
Beschreibung
Plattformabhängiger Integertyp mit Vorzeichen.
LongInt repräsentiert eine Untermenge der natürlichen Zahlen. Die Größe und der Bereich von LongInt sind von der Zielplattform abhängig:
- Auf 32-Bit-Plattformen und 64-Bit-Windows-Plattformen ist LongInt eine 4 Byte große vorzeichenbehaftete Ganzzahl im Bereich
[-2147483648 .. 2147483647](-2-31bis232-1).
-
- Hinweis: Zu 32-Bit-Plattformen zählen 32-Bit-Windows und -Android.
- Auf 64-Bit-POSIX-Plattformen (Android, iOS, Linux und macOS) ist LongInt eine 8 Byte große vorzeichenlose Ganzzahl (Integer) im Bereich
[-9223372036854775808 .. 9223372036854775807](-263bis263-1).