R-alpha: .Machine object

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Wed, 13 Nov 1996 11:06:11 +1300 (NZDT)

From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Date: Wed, 13 Nov 1996 11:06:11 +1300 (NZDT)
Message-Id: <199611122206.LAA26686@stat13.stat.auckland.ac.nz>
To: Friedrich Leisch <Friedrich.Leisch@ci.tuwien.ac.at>
Subject: R-alpha: .Machine object
In-Reply-To: <199611111008.LAA24599@galadriel.ci.tuwien.ac.at>

Friedrich Leisch writes:
 > Hi,
 > I would like to port the S fracdiff package to R. Everything works
 > fine, except that I need the S .Machine object, providing a lot of
 > Machine constants such as max double, min double, eps, aso
 > Are there any plans on including .Machine in one of the next releases?

The S .Machine object seems to include all sorts of information I
can't really see a use for (isn't virtually everything ieee these days?).

I have some code which will certainly produce all this information,
but it would be cleaner just to use the useful subset of values in
<float.h> and <limits.h>.  We could give them the same names as the S

Also, since R is strictly double precision it seems to make sense only
to have the double precision versions of these values.

Opinions anyone?
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch