R-alpha: R0.50 Pre7 : Bug in .Internal(print.default(.)...)

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Wed, 16 Apr 97 00:10:26 +0200


> options()$digi
[1] 7
> (0:2)/1000 + 1e-10
[1]1e-3131e-3131e-313

-->  Hugh ?!?!  (it is NOT in computation just in printing !) :

> options(digits=8)
> 0:2/1000 + 1e-10
[1] 1.0000000e-10 1.0000001e-03 2.0000001e-03
> options(digits=5)
> 0:2/1000 + 1e-10
[1]1e-3131e-3131e-313
> 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-