math.arc provides additional mathematical functions. These can be used by adding IMPORT "math.arc" at the top of your script.
PI: 3.141592653589793E: 2.718281828459045TAU: 6.283185307179586
-
exp(x): Exponential function ($E^x$ ). -
logn(x): Natural logarithm. -
log(base, x): Logarithm with a specific base. -
sqrt(x): Square root. -
abs(x): Absolute value. -
sign(x): Returns -1 if x < 0, 0 if x == 0, 1 if x > 0. -
floor(x): Rounds down to the nearest integer. -
fmod(x, y): Floating-point modulo. -
sin(x): Sine. -
cos(x): Cosine. -
tan(x): Tangent. -
max(list): Returns the maximum value in a list. -
min(list): Returns the minimum value in a list.