Menu

Defines

Richard

The global defines are as follows (if win64, x64, or _amd64 are defined then x64 is being compiled).

if _WIN64 || amd64 || _x64

define MYWORD unsigned __int64

define MYWORDPTR unsigned __int64*

define MYBITS 64

define MYHIGHBIT 63

define MYBYTES 8

define BASE 18446744073709551616

define MAX 18446744073709551615

define SQRBASE 4294967296

else

define MYWORD unsigned int

define MYWORDPTR unsigned int*

define MYBITS 32

define MYHIGHBIT 31

define MYBYTES 4

define BASE 4294967296

define MAX 4294967295

define SQRBASE 65536

endif

MYWORD=what the word type is in the arrays.
MYWORDPTR=native pointer for an array of type MYWORD
MYBITS=number of bits compiling too
MYHIGHBIT=highest bit of the MYWORD type
MYBYTES=size in bytes of MYWORD
BASE=Base value of MYWORD
MAX=Max value MYWORD can contain
SQRBASE=Square Root of the base


Related

Wiki: Home