From gostan at igmm.cnrs.fr  Wed May 13 14:35:12 2009
From: gostan at igmm.cnrs.fr (gostan at igmm.cnrs.fr)
Date: Wed, 13 May 2009 14:35:12 +0200 (CEST)
Subject: [Rd] simple add error (PR#13699)
Message-ID: <20090513123512.32DFE282C768@mail.pubhealth.ku.dk>

Full_Name: Gostan Thierry
Version: 2.6.1 (2007-11-26)
OS: Windows XP
Submission from: (NULL) (193.49.190.42)


I cannot explain why R seems to have problems adding two big numbers.

sprintf("%f",10^4+10^19) gives "10000000000000010240.000000" 
                    instead of "10000000000000010000.000000"

problems seems to arrive when i'm trying to add a big and a small number...



[Rd] simple add error (PR#13699)
gostan at igmm.cnrs.fr