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