TYL PROGRAMMING LANGUAGE
▶ MATH MODULE REFERENCE
math.abs num → result
num
integral or real number
result
absolute value of num
math.arccos num → result
num
integral or real number
result
arc cosine of num
math.arcsin num → result
num
integral or real number
result
arc sine of num
math.arctan num → result
num
integral or real number
result
arc tangent of num
math.ceil num → result
num
integral or real number
result
minimum integer that is greater than or equal to num
math.cos num → result
num
integral or real number
result
cosine of num
math.floor num → result
num
integral or real number
result
maximum integer that is less than or equal to num
math.ln num → result
num
integral or real nonnegative number
result
logarithm of num in base 10
math.log num base → result
num
integral or real nonnegative number
base
base of logarithm
result
logarithm of num in base base
math.max num1 num2 → result
num1
integral or real number
num2
integral or real number
result
maximum of num1 and num2
math.min num1 num2 → result
num1
integral or real number
num2
integral or real number
result
minimum of num1 and num2
math.mod dividend divisor → result
If dividend and divisor are integral, returns the remainder of dividend divided by divisor, otherwise NULL. If divisor is zero, a division by zero error is thrown.
dividend
integral number
divisor
integral number
math.power num power → result
num
integral or real number
power
the power
result
num raised to power
math.sin num → result
num
integral or real number
result
sine of num
math.sqrt num → result
num
integral or real nonnegative number
result
square root of num
math.tan num → result
num
integral or real number
result
tangent of num