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-31
bis232-1
).
-
- Hinweis:
Zu 32-Bit-Plattformen zählen 32-Bit-Windows, 32-Bit-macOS, 32-Bit-iOS und Android.
- Auf 64-Bit-POSIX-Plattformen (iOS und Linux) ist LongInt eine 8 Byte große vorzeichenbehaftete Ganzzahl im Bereich
[-9223372036854775808 .. 9223372036854775807]
(-263
bis263-1
).