Skip to content

TEGS Scripting: Double Library

Jon Thysell edited this page Jan 1, 2024 · 12 revisions

The Double library provides constants and functions relevant to the Double type.

Constants

Name Full Name Type Value Description
Epsilon Double.Epsilon Double 4.94065645841247E-324 The smallest positive Double value that is greater than zero.
MaxValue Double.MaxValue Double 1.7976931348623157E+308 The largest possible value of a Double.
MinValue Double.MinValue Double -1.7976931348623157E+308 The smallest possible value of a Double.
NaN Double.NaN Double NaN A value that is not a number.
NegativeInfinity Double.NegativeInfinity Double -∞ Negative infinity.
PositiveInfinity Double.PositiveInfinity Double Positive infinity.
NegativeZero Double.NegativeZero Double -0 Negative zero.
E Double.E Double 2.7182818284590451 The natural logarithmic base, specified by the constant e.
Pi Double.Pi Double 3.1415926535897931 The ratio of the circumference of a circle to its diameter, specified by the constant π.
Tau Double.Tau Double 6.2831853071795862 The number of radians in one turn, specified by the constant, τ.

Functions

N/A