Is it possible to use DOUBLE data type on 32-bit systems?

3

The DOUBLE data type is a 64-bit floating point, but can it be used on 32-bit systems without any problems?

    
asked by anonymous 22.08.2017 / 19:15

1 answer

4

It's possible, it's completely different things. This 32 bits indicates memory addressability , that is, it reaches up to 4GB. We can say that it is the size of pointer or word (roughly).

This 64 of double is the size of the number that can be stored in that type.

It's just a coincidence that there is a 64-bit type and a 64-bit architecture, there is no relationship between these measures.

Data banks store data independently of the machine's architecture so they can be ported between completely different computers.

    
22.08.2017 / 19:36