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
Used keywords: ulong
compatible programing languages:
Visual Basic .NET | C#

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
Used keywords: uint64
compatible programing languages:
Visual Basic .NET | C# | Object Pascal | Free Pascal

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
Used keywords: qword
compatible programing languages:
Free Pascal | Object Pascal

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
Used keywords: ulongint
compatible programing languages:
FreeBASIC

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
Used keywords: long unsigned
Note: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.
compatible programing languages:
C++ | Visual C++ .NET

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:
Languages: en hu cz sk