Thema: Delphi Int64 in Float

Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu
Online

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.166 Beiträge
 
Delphi 12 Athens
 
#7

Re: Int64 in Float

  Alt 22. Okt 2003, 09:50
Int64 ist der größte Integer.

Int64 => Double, Extended, Comp

Aus der OH:
Delphi-Quellcode:
Reelle Typen:
  Real48 2.9 x 10^-39 .. 1.7 x 10^38 6 Byte / 48 Bit
  Single 1.5 x 10^-45 .. 3.4 x 10^38 4 Byte / 32 Bit
* Double 5.0 x 10^-324 .. 1.7 x 10^308 8 Byte / 64 Bit
* Extended 3.6 x 10^-4951 .. 1.1 x 10^4932 10 Byte / 80 Bit
* Comp -2^63+1 .. 2^63 -1 8 Byte / 64 Bit
  Currency -922337203685477.5808 .. 922337203685477.5807 8 Byte / 64 Bit

Integer-Typen:
  Shortint -128 .. 127 1 Byte / 8 Bit
  Smallint -32768 .. 32767 2 Byte / 16 Bit
  Longint -2147483648 .. 2147483647 4 Byte / 32 Bit
* Int64 -2^63 .. 2^63-1 8 Byte / 64 Bit
  Byte 0 .. 255 1 Byte / 8 Bit
  Word 0 .. 65535 2 Byte / 16 Bit
  Longword 0 .. 4294967295 4 Byte / 32 Bit
Zitat:
Der Typ Comp (für "computational") ist ein natives Format der Intel-Prozessorarchitektur und stellt einen 64-Bit-Integer dar. Er ist dennoch als reeller Typ klassifiziert, weil sein Verhalten nicht dem eines ordinalen Typs entspricht. Ein Comp-Wert kann beispielsweise weder inkrementiert noch dekrementiert werden. Comp ist nur aus Gründen der Abwärtskompatibilität vorhanden. Eine höhere Ausführungsgeschwindigkeit erhalten Sie mit dem Typ Int64.
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat