Sign in Join
Wiki copytemporary

LongWord

A longWord is an unsigned integer data type which is larger than a word.<sup>1</sup> Larger refers to both the permissible range of values and the size occupied in a packed structure.

Definition

GNU Pascal Compiler

In GNU Pascal a longWord is compatible to GNU C’s long long unsigned int. On some platforms it is 64 bits wide and thus has a range of 0..18446744073709551615 ($\mathbb{Z} \cap \left[0, 2^{64}\right)$).

Free Pascal Compiler

For compatibility with Delphi, the FPC always defines longWord as a 32-bit quantity, thus it may assume a value in the range 0..4294967295 ($\mathbb{Z} \cap \left[0, 2^{32}\right)$). The defunct {$mode GPC} compiler compatibility mode did not change this. In this definition, dWord (double word) is an alias for longWord. As of version 3.2.0 the data type cardinal is an unconditional alias for longWord.

Application

See Also


From the Free Pascal wiki, page "LongWord", as it stood on 2023-12-22 after a change by Alextpp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 3, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.