-
Notifications
You must be signed in to change notification settings - Fork 1
TEGS Scripting: Math Library
Jon Thysell edited this page Mar 20, 2022
·
7 revisions
The Math library provides constants and functions relevant to trigonometric, logarithmic, and other common mathematical functions.
Name | Full Name | Type | Value | Description |
---|---|---|---|---|
E | Math.E |
Double | 2.7182818284590451 |
The natural logarithmic base, specified by the constant e. |
PI | Math.PI |
Double | 3.1415926535897931 |
The ratio of the circumference of a circle to its diameter, specified by the constant π. |
Tau | Math.Tau |
Double | 6.2831853071795862 |
The number of radians in one turn, specified by the constant, τ. |
Returns the absolute value of a specified number.
Integer Math.Abs(Integer value)
Parameters
value
Integer
A number.
Returns
The absolute value of the specified number.
Double Math.Abs(Double value)
Parameters
value
Double
A number.
Returns
The absolute value of the specified number.
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
Copyright (c) 2019-2024 Jon Thysell