CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   how to tell the word length of a real variable? (http://www.cfd-online.com/Forums/cd-adapco/53163-how-tell-word-length-real-variable.html)

Jiaying Xu January 28, 2003 12:54

how to tell the word length of a real variable?
 
How to determine what are the word length of a real/double-precision variable, on a 32-/64-bit machine?

Thanks,

Jiaying

steve January 30, 2003 21:41

Re: how to tell the word length of a real variable
 
Whether a machine is 32bits or 64 bits has absolutely nothing to with the length of real/double precision numbers. 64bits means that 64bit memory pointers are allowed. 32bits limits your maximum memory space to either 2Gb or 4Gb (ie 2^32) depending on the machine. None of this affects the word length of single precision numbers.


All times are GMT -4. The time now is 13:42.