Consts

Overview

Math and related constants.

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL

 

E

Returns the 'e' value, the base of natural logarithms.

 

const E: Double = 2,71828182845905;

 

const Double E = 2,71828182845905

 

static let E: Double = 2,71828182845905

 

static final Double E = 2,71828182845905

FalseString

"False' as a string

 

class property FalseString: not nullable String read;

 

class String! FalseString { get; }

 

static var FalseString: String { get{} }

 

class String! FalseString { __get; }

IsInfinity

Returns true if a double is negative or positive infinity.

 

class method IsInfinity(Value: Double): Boolean

 

static Boolean IsInfinity(Double Value)

 

static func IsInfinity(_ Value: Double) -> Boolean

 

static Boolean IsInfinity(Double Value)

Parameters:

  • Value:

IsNaN

Returns true if a double is NaN.

 

class method IsNaN(Value: Double): Boolean

 

static Boolean IsNaN(Double Value)

 

static func IsNaN(_ Value: Double) -> Boolean

 

static Boolean IsNaN(Double Value)

Parameters:

  • Value:

IsNegativeInfinity

Returns true if a double is negative infinity.

 

class method IsNegativeInfinity(Value: Double): Boolean

 

static Boolean IsNegativeInfinity(Double Value)

 

static func IsNegativeInfinity(_ Value: Double) -> Boolean

 

static Boolean IsNegativeInfinity(Double Value)

Parameters:

  • Value:

IsPositiveInfinity

Returns true if a double is positive infinity.

 

class method IsPositiveInfinity(Value: Double): Boolean

 

static Boolean IsPositiveInfinity(Double Value)

 

static func IsPositiveInfinity(_ Value: Double) -> Boolean

 

static Boolean IsPositiveInfinity(Double Value)

Parameters:

  • Value:

MaxByte

Returns the maximum value a byte can contain.

 

const MaxByte: Byte = 255;

 

const Byte MaxByte = 255

 

static let MaxByte: Byte = 255

 

static final Byte MaxByte = -1

MaxChar

Returns the maximum value a char can contain.

 

const MaxChar: Char = #65535;

 

const Char MaxChar = (char)65535

 

static let MaxChar: Char = \u{FFFF}

 

static final Char MaxChar = \uFFFF

MaxDouble

Returns the maximum value a double can contain.

 

class property MaxDouble: Double read;

 

class Double MaxDouble { get; }

 

static var MaxDouble: Double { get{} }

 

class Double MaxDouble { __get; }

MaxInt32

Returns the maximum value an int32 can contain.

 

const MaxInt32: Int32 = 2147483647;

 

const Int32 MaxInt32 = 2147483647

 

static let MaxInt32: Int32 = 2147483647

 

static final Integer MaxInt32 = 2147483647

MaxInt64

Returns the maximum value an int64 can contain.

 

const MaxInt64: Int64 = 9223372036854775807;

 

const Int64 MaxInt64 = 9223372036854775807

 

static let MaxInt64: Int64 = 9223372036854775807

 

static final Int64 MaxInt64 = 9223372036854775807

MinByte

Returns the minimum value a byte can contain.

 

const MinByte: Byte = 0;

 

const Byte MinByte = 0

 

static let MinByte: Byte = 0

 

static final Byte MinByte = 0

MinChar

Returns the minimum value a char can contain.

 

const MinChar: Char = #0;

 

const Char MinChar = (char)0

 

static let MinChar: Char = \u{0000}

 

static final Char MinChar = \u0000

MinDouble

Returns the minimum value a double can contain.

 

class property MinDouble: Double read;

 

class Double MinDouble { get; }

 

static var MinDouble: Double { get{} }

 

class Double MinDouble { __get; }

MinInt32

Returns the minimum value an int32 can contain.

 

const MinInt32: Int32 = -2147483648;

 

const Int32 MinInt32 = -2147483648

 

static let MinInt32: Int32 = -2147483648

 

static final Integer MinInt32 = -2147483648

MinInt64

Returns the maximum value an int64 can contain.

 

const MinInt64: Int64 = -9223372036854775808;

 

const Int64 MinInt64 = -9223372036854775808

 

static let MinInt64: Int64 = -9223372036854775808

 

static final Int64 MinInt64 = -9223372036854775808

NaN

Returns the NaN value.

 

class property NaN: Double read;

 

class Double NaN { get; }

 

static var NaN: Double { get{} }

 

class Double NaN { __get; }

NegativeInfinity

Returns negative infinity.

 

class property NegativeInfinity: Double read;

 

class Double NegativeInfinity { get; }

 

static var NegativeInfinity: Double { get{} }

 

class Double NegativeInfinity { __get; }

PI

Returns PI ~ 3.14.

 

const PI: Double = 3,14159265358979;

 

const Double PI = 3,14159265358979

 

static let PI: Double = 3,14159265358979

 

static final Double PI = 3,14159265358979

PositiveInfinity

Returns positive infinity.

 

class property PositiveInfinity: Double read;

 

class Double PositiveInfinity { get; }

 

static var PositiveInfinity: Double { get{} }

 

class Double PositiveInfinity { __get; }

TrueString

Returns "True" as a string.

 

class property TrueString: not nullable String read;

 

class String! TrueString { get; }

 

static var TrueString: String { get{} }

 

class String! TrueString { __get; }

π

Alias for PI.

 

const π: Double = 3,14159265358979;

 

const Double π = 3,14159265358979

 

static let π: Double = 3,14159265358979

 

static final Double π = 3,14159265358979

 

E

Returns the 'e' value, the base of natural logarithms.

 

const E: Double = 2,71828182845905;

 

const Double E = 2,71828182845905

 

static let E: Double = 2,71828182845905

 

static final Double E = 2,71828182845905

MaxByte

Returns the maximum value a byte can contain.

 

const MaxByte: Byte = 255;

 

const Byte MaxByte = 255

 

static let MaxByte: Byte = 255

 

static final Byte MaxByte = -1

MaxChar

Returns the maximum value a char can contain.

 

const MaxChar: Char = #65535;

 

const Char MaxChar = (char)65535

 

static let MaxChar: Char = \u{FFFF}

 

static final Char MaxChar = \uFFFF

MaxInt32

Returns the maximum value an int32 can contain.

 

const MaxInt32: Int32 = 2147483647;

 

const Int32 MaxInt32 = 2147483647

 

static let MaxInt32: Int32 = 2147483647

 

static final Integer MaxInt32 = 2147483647

MaxInt64

Returns the maximum value an int64 can contain.

 

const MaxInt64: Int64 = 9223372036854775807;

 

const Int64 MaxInt64 = 9223372036854775807

 

static let MaxInt64: Int64 = 9223372036854775807

 

static final Int64 MaxInt64 = 9223372036854775807

MinByte

Returns the minimum value a byte can contain.

 

const MinByte: Byte = 0;

 

const Byte MinByte = 0

 

static let MinByte: Byte = 0

 

static final Byte MinByte = 0

MinChar

Returns the minimum value a char can contain.

 

const MinChar: Char = #0;

 

const Char MinChar = (char)0

 

static let MinChar: Char = \u{0000}

 

static final Char MinChar = \u0000

MinInt32

Returns the minimum value an int32 can contain.

 

const MinInt32: Int32 = -2147483648;

 

const Int32 MinInt32 = -2147483648

 

static let MinInt32: Int32 = -2147483648

 

static final Integer MinInt32 = -2147483648

MinInt64

Returns the maximum value an int64 can contain.

 

const MinInt64: Int64 = -9223372036854775808;

 

const Int64 MinInt64 = -9223372036854775808

 

static let MinInt64: Int64 = -9223372036854775808

 

static final Int64 MinInt64 = -9223372036854775808

PI

Returns PI ~ 3.14.

 

const PI: Double = 3,14159265358979;

 

const Double PI = 3,14159265358979

 

static let PI: Double = 3,14159265358979

 

static final Double PI = 3,14159265358979

π

Alias for PI.

 

const π: Double = 3,14159265358979;

 

const Double π = 3,14159265358979

 

static let π: Double = 3,14159265358979

 

static final Double π = 3,14159265358979

 

FalseString

"False' as a string

 

class property FalseString: not nullable String read;

 

class String! FalseString { get; }

 

static var FalseString: String { get{} }

 

class String! FalseString { __get; }

MaxDouble

Returns the maximum value a double can contain.

 

class property MaxDouble: Double read;

 

class Double MaxDouble { get; }

 

static var MaxDouble: Double { get{} }

 

class Double MaxDouble { __get; }

MinDouble

Returns the minimum value a double can contain.

 

class property MinDouble: Double read;

 

class Double MinDouble { get; }

 

static var MinDouble: Double { get{} }

 

class Double MinDouble { __get; }

NaN

Returns the NaN value.

 

class property NaN: Double read;

 

class Double NaN { get; }

 

static var NaN: Double { get{} }

 

class Double NaN { __get; }

NegativeInfinity

Returns negative infinity.

 

class property NegativeInfinity: Double read;

 

class Double NegativeInfinity { get; }

 

static var NegativeInfinity: Double { get{} }

 

class Double NegativeInfinity { __get; }

PositiveInfinity

Returns positive infinity.

 

class property PositiveInfinity: Double read;

 

class Double PositiveInfinity { get; }

 

static var PositiveInfinity: Double { get{} }

 

class Double PositiveInfinity { __get; }

TrueString

Returns "True" as a string.

 

class property TrueString: not nullable String read;

 

class String! TrueString { get; }

 

static var TrueString: String { get{} }

 

class String! TrueString { __get; }

 

IsInfinity

Returns true if a double is negative or positive infinity.

 

class method IsInfinity(Value: Double): Boolean

 

static Boolean IsInfinity(Double Value)

 

static func IsInfinity(_ Value: Double) -> Boolean

 

static Boolean IsInfinity(Double Value)

Parameters:

  • Value:

IsNaN

Returns true if a double is NaN.

 

class method IsNaN(Value: Double): Boolean

 

static Boolean IsNaN(Double Value)

 

static func IsNaN(_ Value: Double) -> Boolean

 

static Boolean IsNaN(Double Value)

Parameters:

  • Value:

IsNegativeInfinity

Returns true if a double is negative infinity.

 

class method IsNegativeInfinity(Value: Double): Boolean

 

static Boolean IsNegativeInfinity(Double Value)

 

static func IsNegativeInfinity(_ Value: Double) -> Boolean

 

static Boolean IsNegativeInfinity(Double Value)

Parameters:

  • Value:

IsPositiveInfinity

Returns true if a double is positive infinity.

 

class method IsPositiveInfinity(Value: Double): Boolean

 

static Boolean IsPositiveInfinity(Double Value)

 

static func IsPositiveInfinity(_ Value: Double) -> Boolean

 

static Boolean IsPositiveInfinity(Double Value)

Parameters:

  • Value: