Hi, If R is compiled for a 64 bit platform, does the double data type make use of the additional precision or is it set at a fixed length? Thanks, Paul
64 bit R double precision
3 messages · Paul Emberson, Duncan Murdoch, Peter Dalgaard
On 5/7/2009 12:56 PM, Paul Emberson wrote:
Hi, If R is compiled for a 64 bit platform, does the double data type make use of the additional precision or is it set at a fixed length?
It is still a 64 bit floating point value. R may use "long double" internally for some calculations, but the numeric type that is saved doesn't change. Duncan Murdoch
Paul Emberson wrote:
Hi, If R is compiled for a 64 bit platform, does the double data type make use of the additional precision or is it set at a fixed length?
No. Double is double, 64 bits, although sometimes 80 bits when things are kept in registers. However, even though the FPU is identical between 64 and 32 bit machines, you do not in general get the same results, due to tricks played by optimizing compilers.
O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907