R-alpha: Machine Constants

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Thu, 5 Dec 1996 14:06:57 +1300 (NZDT)


From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Date: Thu, 5 Dec 1996 14:06:57 +1300 (NZDT)
Message-Id: <199612050106.OAA20600@stat13.stat.auckland.ac.nz>
To: R-testers <r-testers@stat.math.ethz.ch>
Subject: R-alpha: Machine Constants

Here is a hacked up version of "machar" in C.  I have made the local
variables "volatile".  Could someone having problems with .Machine
values try this out and see what happens.  On my Sun I see

stat1$ a.out
ibeta = 2
it = 53
irnd = 5
negep = -53
epsneg = 1.1102230246252e-16
machep = -52
eps = 2.2204460492503e-16
ngrd = 0
iexp = 11
minexp = -1022
xmin = 2.2250738585072e-308
maxexp = 1024
xmax = 1.7976931348623e+308

Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-