Delphi Language Guide Delphi for Microsoft Win32 Delphi for the Microsoft. Net framework



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə245/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   241   242   243   244   245   246   247   248   ...   294
DelphiLanguageGuide

The Extended type
A 10-byte (80-bit) Extended number is divided into four fields:
1 15 1 63
s e
i f
The value v of the number is given by
if 0 <= e < 32767, then v = (1)^s * 2^(e16383) * (i.f)
if e = 32767 and f = 0, then v = (1)^s * Inf
if e = 32767 and f <> 0, then v is a NaN
Note:
On the .NET platform, the Extended type is aliased to Double, and has been deprecated.
The Comp type
An 8-byte (64-bit) Comp number is stored as a signed 64-bit integer.
Note:
On the .NET platform, the Comp type is aliased to Int64, and has been deprecated.
The Currency type
An 8-byte (64-bit) Currency number is stored as a scaled and signed 64-bit integer with the four least-significant
digits implicitly representing four decimal places.
Pointer Types
A Pointer type is stored in 4 bytes as a 32-bit address. The pointer value nil is stored as zero.
Note:
On the .NET platform, the size of a pointer will vary at runtime. Therefore, 
SizeOf(pointer)
 is not a
compile-time constant, as it is on the Win32 platform.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   241   242   243   244   245   246   247   248   ...   294




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin