Aus RAD Studio API Documentation
Bạn đang xem: longint
Wechseln zu: Navigation, Suche
- Übergeordnet: System
Delphi
type Longint = { built-in type };
C++
typedef int Longint; // -2147483648..2147483647
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
type Xem thêm: vẽ rồng 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 yên ổn Bereich
[-2147483648 .. 2147483647]
(-2-31
bis232-1
).
-
- Hinweis:
Xem thêm: vẽ giày đơn giản
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 yên ổn Bereich
[-9223372036854775808 .. 9223372036854775807]
(-263
bis263-1
).
-
- Hinweis: Verwenden Sie Integer oder FixedInt als 4 Byte großen Integertyp mit Vorzeichen.
Siehe auch
- System.Int32
- System.Int64
- System.Integer
- System.FixedInt
- System.LongWord
- Interne Datenformate (Delphi)
- Einfache Typen (Delphi)
Bình luận