Share

Adesk::IntLiterals

C++

enum IntLiterals : long long {
  nMaxShort = 0x7fff,
  n64K = 0x10000,
  n1Meg = 0x100000,
  n1Gig = 0x40000000,
  n1Tera = 0x10000000000,
  nMaxInt = 0x7fffffff,
  nMaxUInt = 0xffffffff
};

File

adesk.h

Members

Members Description
nMaxShort Integer value that is 32k-1 = 32,767.
n64K Integer value that is 2**16 = 65,536.
n1Meg Integer value that is 2**20 = 1,048,576.
n1Gig Integer value that is 2**30 = 1,073,741,824.
n1Tera Integer value that is 2**40 = 1,099,511,627,776.
nMaxInt Integer value that is 2G-1 = 2,147,483,647.
nMaxUInt Integer value that is 4G-1 = 4,294,967,295.

Description

Integer literals

Was this information helpful?