The R Project SVN R

Rev

Rev 88274 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88274 Rev 88591
Line 107... Line 107...
107
    \code{"longdouble.\var{kind}"} values, specifying the \samp{long double}
107
    \code{"longdouble.\var{kind}"} values, specifying the \samp{long double}
108
    property corresponding to its \code{"double.*"} counterpart.  See
108
    property corresponding to its \code{"double.*"} counterpart.  See
109
    also \sQuote{Note}.}
109
    also \sQuote{Note}.}
110
}
110
}
111
\details{
111
\details{
112
  The algorithm is based on Cody's (1988) subroutine \code{MACHAR}.  As all
112
  The algorithm is based on subroutine \code{MACHAR} \bibcitep{R:Cody:1988}.
-
 
113
  As all
113
  current implementations of \R use 32-bit integers and use \abbr{IEC} 60559
114
  current implementations of \R use 32-bit integers and use \abbr{IEC} 60559
114
  floating-point (double precision) arithmetic, the \code{"integer"} and
115
  floating-point (double precision) arithmetic, the \code{"integer"} and
115
  \code{"double"} related values are the same for almost all \R builds.
116
  \code{"double"} related values are the same for almost all \R builds.
116
  % differing sizeof.(long|longdouble|pointer)
117
  % differing sizeof.(long|longdouble|pointer)
117
 
118
 
Line 149... Line 150...
149
\source{
150
\source{
150
  Uses a C translation of Fortran code in the reference, modified by the
151
  Uses a C translation of Fortran code in the reference, modified by the
151
  R Core Team to defeat over-optimization in modern compilers.
152
  R Core Team to defeat over-optimization in modern compilers.
152
}
153
}
153
\references{
154
\references{
154
  Cody, W. J. (1988).
155
  \bibshow{*}
155
  MACHAR: A subroutine to dynamically determine machine parameters.
-
 
156
  \emph{Transactions on Mathematical Software}, \bold{14}(4), 303--311.
-
 
157
  \doi{10.1145/50063.51907}.
-
 
158
}
156
}
159
\seealso{
157
\seealso{
160
  \code{\link{.Platform}} for details of the platform.
158
  \code{\link{.Platform}} for details of the platform.
161
}
159
}
162
\examples{
160
\examples{