64-bit unsigned integer: ulong, UInt64, qword, ulongint, unsigned long long
64-bit unsigned integer type is used to store only pozitiv whole number. 64-bit unsigned integer and his value range: from 0 to 18446744073709551615.ulong
Description
ulong
Examples
Example
64-bit unsigned integer the possible of use:xmin = 0; ymax = 18446744073709551615;
ulong x=7001234; // x = 7001234
ulong y = 10250 div 8; // y = 1281
y = (ulong)(x * y); // z = 8968580754
UInt64
Description
UInt64
Examples
Example
64-bit unsigned integer the possible of use:xmin = 0; ymax = 18446744073709551615;
UInt64 x=7001234; // x = 7001234
UInt64 y = 10250 div 8; // y = 1281
y = (UInt64)(x * y); // z = 8968580754
qword
Description
qword
Examples
Object Pascal
64-bit unsigned integer the possible of use:xmin := 0; ymax := 18446744073709551615;
x:=7001234; // x = 7001234
y:= 10250 div 8; // y = 1281
y := QWord((x * y)); // z = 8968580754
ulongint
Description
longint
Examples
FreeBASIC
64-bit unsigned integer the possible of use:xmin = 0
ymax = 18446744073709551615
Dim x As ulongint=7001234 ' x = 7001234
Dim y As ulongint= 10250 \ 8 ' y = 1281
y = CULngInt((x * y)) ' z = 8968580754
unsigned long long
Description
unsigned long long
Note: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.
Examples
C++
64-bit unsigned integer the possible of use:xmin = 0; ymax = 18446744073709551615;
unsigned long long x=7001234; // x = 7001234
unsigned long long y = 10250 / 8; // y = 1281
y = (unsigned long long)(x * y); // z = 8968580754
You can find it in the following collections: unsigned integers | integers | numbers | data types
64-bit unsigned integer in another programming language: