[R] one is not one

Thomas Lumley tlumley at u.washington.edu
Mon Oct 23 16:39:24 CEST 2006


On Sat, 21 Oct 2006, Philipp Pagel wrote:

> On Sat, Oct 21, 2006 at 11:04:13AM +0200, Patrick Giraudoux wrote:
>> Which means that actually sum(x) is NOT considered equal to 1...
>>
>> Any idea about what is going wrong?
>
> Others have already pointed out the problem and I would like to add a
> reference to a classical paper on this topic:
>
> David Goldberg
> What Every Computer Scientist Should Know About Floating-Point Arithmetic
> Computing Surveys, 1991
>
> Reprints can be found in many places online - e.g. here:
>

Yes, and one place is linked from the FAQ entry.


 	-thomas



More information about the R-help mailing list