[Rd] round() doesnt (PR#1138)

David Brahm brahm@alum.mit.edu
Mon, 22 Oct 2001 18:31:44 -0400 (EDT)


Hi, all,

   I swear, bug.report() ate my message!  Apologies to all, esp. Peter who
will once again have to clean up after my mess...

   The bug report was supposed to say:

R> round(100000/3, -2) - 33300
   [1] -7.275958e-12

I would have hoped for 0.  The problem seems to be specifically for negative
"digits".
			-- David Brahm (brahm@alum.mit.edu)

Version:
 platform = sparc-sun-solaris2.6
 arch = sparc
 os = solaris2.6
 system = sparc, solaris2.6
 status = 
 major = 1
 minor = 3.0
 year = 2001
 month = 06
 day = 22
 language = R

Search Path:
 .GlobalEnv, package:misc, package:io, package:arrays, package:ls1, package:db, package:ts, package:ctest, Autoloads, package:base
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._