Skip to content

Math Functions

Mathematical Functions

A set of mathematical and trigonometric functions.

FunctionAction
MathAbsReturns absolute value (modulus) of the specified numeric value
MathArccosReturns the arc cosine of x in radians
MathArcsinReturns the arc sine of x in radians
MathArctanReturns the arc tangent of x in radians
MathCeilReturns integer numeric value closest from above
MathCosReturns the cosine of a number
MathExpReturns exponent of a number
MathFloorReturns integer numeric value closest from below
MathLogReturns natural logarithm
MathLog10Returns the logarithm of a number by base 10
MathMaxReturns the maximal value of the two numeric values
MathMinReturns the minimal value of the two numeric values
MathModReturns the real remainder after the division of two numbers
MathPowRaises the base to the specified power
MathRandReturns a pseudorandom value within the range of 0 to 32767
MathRoundRounds of a value to the nearest integer
MathSinReturns the sine of a number
MathSqrtReturns a square root
MathSrandSets the starting point for generating a series of pseudorandom integers
MathTanReturns the tangent of a number
MathIsValidNumberChecks the correctness of a real number
MathExpm1Returns the value of the expression MathExp(x)-1
MathLog1pReturns the value of the expression MathLog(1+x)
MathArccoshReturns the hyperbolic arccosine
MathArcsinhReturns the hyperbolic arcsine
MathArctanhReturns the hyperbolic arctangent
MathCoshReturns the hyperbolic cosine
MathSinhReturns the hyperbolic sine
MathTanhReturns the hyperbolic tangent
MathSwapChange the order of bytes in the ushort/uint/ushort types value
Last updated on