longint

Aus RAD Studio API Documentation

Wechseln zu: Navigation, Suche

Bạn đang xem: longint

Delphi

type Longint = { built-in type };

C++

typedef int                  Longint;          // -2147483648..2147483647

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet

type

Xem thêm: cơ cấu ngành kinh tế nước ta đang chuyển dịch theo hướng nào sau đây

typedef

public

System.pas

Xem thêm: hình thức nào là hình thức cao nhất của tổ chức lãnh thổ nông nghiệp

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 lặng Bereich [-2147483648 .. 2147483647] (-2-31 bis 232-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 lặng Bereich [-9223372036854775808 .. 9223372036854775807] (-263 bis 263-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)