[Rd] round(10000000000) (PR#1254)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Thu, 10 Jan 2002 20:54:34 +0100 (MET)


Yes, it's a newly introduced bug, fixed now.

On Thu, 10 Jan 2002 o.christensen@lancaster.ac.uk wrote:

> Full_Name: Ole Christensen
> Version: 1.4.0
> OS: Linux
> Submission from: (NULL) (194.80.32.10)
>
>
> Dear R-people
>
> I found the following feature for the round function (using R-1.4.0)
>
> > round(10000000000)
> [1] -2147483648
>
> Is this a bug ?
>
> The round(10000000000) worked fine using R-1.3.1
>
> Thank you in advance
>
> Ole
>
>
> > version
>          _
> platform i686-pc-linux-gnu
> arch     i686
> os       linux-gnu
> system   i686, linux-gnu
> status
> major    1
> minor    4.0
> year     2001
> month    12
> day      19
> language R
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._