Whis is there a .Machine$sizeof.longdouble but no .Machine$sizeof.double? (.Machine$double.digits + .Machine$double.exponent) / 8 could be used for .Machine$sizeof.double, I guess, but why define the structure of doubles in bits, and all other sizeof's in bytes (e.g., .Machine$size.long)? efg Stowers Institute for Medical Research
On Tue, 18 Oct 2005, Earl F. Glynn wrote:> Whis is there a .Machine$sizeof.longdouble but no .Machine$sizeof.double? >sizeof(double) is always 8 and sizeof(int) is always 4, because R requires the IEEE/IEC standard arithmetic types. R will not compile with any other sizes. -thomas