Represents the machine and virtual machine on which the current process is executing.

Holds information about runtime name, version and about inherent limitations like minimum/maximum values that can be represented by the runtime.

no subtypes hierarchy

Attributes
epsilonSource Codeshared Float epsilon

The machine epsilon for floating point values. That is, the smallest value e such that:

1.0 + e > 1.0
Since 1.2.0
integerAddressableSizeSource Codeshared Integer integerAddressableSize

The number of bits of Integer instances which may be manipulated via the methods inherited from Binary.

Since 1.1.0
integerSizeSource Codeshared Integer integerSize

The number of bits used to represent the value of an Integer.

See also Integer
maxArraySizeSource Codeshared Integer maxArraySize

The maximum size of an Array that is possible for this runtime. Note that this is a theoretical limit only. In practice it is usually impossible to allocate an array of this size, due to memory constraints.

See also Array
Since 1.1.0
maxExactIntegralFloatSource Codeshared Integer maxExactIntegralFloat

The largest Integer that can be exactly represented as a Float without loss of precision. The negative of this value is the smallest Integer that can be exactly represented as a Float.

See also Integer.float
Since 1.2.0
maxFloatValueSource Codeshared Float maxFloatValue

The largest finite Float value that can be represented by the runtime.

Since 1.2.0
maxIntegerValueSource Codeshared Integer maxIntegerValue

The largest Integer value that can be represented by the runtime.

It is the maximum Integer that can be distinguished from its predecessor using below formula:

Integer(n+1) = Integer(n) + 1 with Integer(0) = 0

See also Integer
minFloatValueSource Codeshared Float minFloatValue

The smallest positive nonzero Float value that can be represented by the runtime.

Since 1.2.0
minIntegerValueSource Codeshared Integer minIntegerValue

The smallest Integer value that can be represented by the runtime.

It is the minimum Integer that can be distinguished from its successor using below formula:

Integer(n-1) = Integer(n) - 1 with Integer(0) = 0

See also Integer
nameSource Codeshared String name

Deprecated: Use type

The name of the virtual machine this process is executing:

  • jvm when running on a Java Virtual Machine,
  • node.js when running on Node.js,
  • Browser when running in a web browser (if the window object exists), or
  • DartVM when running on the Dart VM.
stringSource Codeshared actual String string

A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the hash of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation.

typeSource Codeshared String type

A string that identifies the kind of virtual machine this process is executing:

  • jvm when executing a Java Virtual Machine,
  • js when executing any kind of JavaScript virtual machine, or
  • dartvm when executing the Dart VM.
Since 1.3.1
versionSource Codeshared String version

The version of the virtual machine this process is executing.

Inherited Attributes
Attributes inherited from: Object
Inherited Methods
Methods inherited from: Object