nuget server logo nuget api documents
↑

API Docs / REnv / DotMachine

DotMachine

Full name SMRUCC.Rsharp.Development.Components.DotMachine Assembly REnv Members 7

Numerical Characteristics of the Machine

.Machine is a variable holding information on the numerical characteristics of the machine R is running on, such as the largest double or integer and the machine's precision.

00 Remarks

The algorithm is based on Cody's (1988) subroutine MACHAR. As all current implementations of R use 32-bit integers and use IEC 60559 floating-point (double precision) arithmetic, the "integer" and "double" related values are the same for almost all R builds.

Note that On most platforms smaller positive values than .Machine$Double.xmin can occur. On a typical R platform the smallest positive Double Is about 5E-324.

01 Syntax

SMRUCC.Rsharp.Development.Components.DotMachine

02 Methods

NameOverloadsSummary
toList 1

03 Properties

NameOverloadsSummary
double_eps 1 the smallest positive floating-point number x such that 1 + x != 1.
double_neg_eps 1 a small positive floating-point number x such that 1 - x != 1.
integer_max 1 the largest integer which can be represented.
double_xmin 1
double_xmax 1
uinteger_max 1

04 Members

property double_eps #
double_eps

the smallest positive floating-point number x such that 1 + x != 1. It equals double.base ^ ulp.digits if either double.base is 2 or double.rounding is 0; otherwise, it is (double.base ^ double.ulp.digits) / 2. Normally 2.220446e-16.

property double_neg_eps #
double_neg_eps

a small positive floating-point number x such that 1 - x != 1. It equals double.base ^ double.neg.ulp.digits if double.base is 2 or double.rounding is 0; otherwise, it is (double.base ^ double.neg.ulp.digits) / 2. Normally 1.110223e-16. As double.neg.ulp.digits is bounded below by -(double.digits + 3), double.neg.eps may not be the smallest number that can alter 1 by subtraction.

property integer_max #
integer_max

the largest integer which can be represented. Always 2^{31} - 1 = 21474836472

property double_xmin #
double_xmin
property double_xmax #
double_xmax
property uinteger_max #
uinteger_max
method toList #
toList()