Home

0x2000000000

0x2000000000 is a hexadecimal integer literal commonly used in computing to denote a large power-of-two value. In decimal, it equals 137,438,953,472, which is 2^37 bytes. This corresponds to 128 gibibytes (GiB) when measured in bytes, since 1 GiB equals 2^30 bytes.

In hexadecimal form, the value is 0x2000000000, consisting of a leading 2 followed by nine zeros. It

Common uses for such a constant include representing a memory address, a size or offset, or a

Notes: the practical interpretation of 0x2000000000 depends on context. It may denote a specific address, a

represents
a
single
set
bit
at
position
37
in
binary
(counting
from
zero),
making
it
a
power
of
two.
The
neighboring
powers
of
two
include
0x1000000000
(2^36,
64
GiB)
and
0x4000000000
(2^38,
256
GiB).
boundary
in
low-level
programming
and
system
design.
Because
it
is
a
power-of-two
boundary,
it
can
be
convenient
for
alignment,
addressing
calculations,
or
as
a
scale
factor
in
data
structures
and
memory
management
discussions.
In
most
modern
64-bit
systems,
this
value
easily
fits
within
64-bit
integers
and
is
far
below
the
address
space
limits
of
typical
architectures.
size,
or
an
offset
in
code,
logs,
or
documentation.
As
with
any
hex
literal,
its
meaning
is
defined
by
how
the
value
is
used
within
a
given
software
or
hardware
environment.