In Java you have the primitive types: int
and float
, which hold a maximum of 32 bits of information, and also have long
and double
types that hold 64 bits of information.
Does this have or could have anything to do with 32-bit and 64-bit processors? If I create a variable long
or double
to run on a 32-bit processor, can this be a problem?