From h.wickham at gmail.com  Wed May 23 20:43:31 2007
From: h.wickham at gmail.com (hadley wickham)
Date: Wed, 23 May 2007 20:43:31 +0200
Subject: [Rd] R 2.5.0 refuses to print enough digits to recover exact
	floating point values
In-Reply-To: <Pine.LNX.4.64.0705231538310.27405@gannet.stats.ox.ac.uk>
References: <eb97335b0705220013m6f3e137cp147d429c46717e24@mail.gmail.com>
	<4652C19F.1040509@statistik.uni-dortmund.de>
	<f8e6ff050705230251t1170b47enea9ced70a6ca4a1e@mail.gmail.com>
	<f8e6ff050705230257q72f3dbd5ua18072424b38386@mail.gmail.com>
	<Pine.LNX.4.64.0705231538310.27405@gannet.stats.ox.ac.uk>
Message-ID: <f8e6ff050705231143p5ecb6f68h781c783855c4d44d@mail.gmail.com>

> I think this is a bug in the MacOS X runtime.  I've checked the C99
> standard, and can see no limits on the precision that you should be able
> to specify to printf.

That seems quite possible - it's interesting that increasing the
number of digits (ie 1e7 vs 1e6) doesn't crash, but takes up about 1.2
gig of ram.

Hadley



[Rd] R 2.5.0 refuses to print enough digits to recover exact floating point values
hadley wickham