441 skyMath.linearInterp(inputValue, scaleRangeMin, scaleRangeMax, minOut, maxOut );
cos()
The Math cos function returns the cosine number for a given value in radians.
modf()
The Math abs function always returns the non-negative number, of a given value.
ldexp()
The math.ldexp() function takes a normalised number and returns the floating point representation...
sin()
The Math sin function returns the cosine number for a given value in radians.
sinh()
The Math cosh function returns the hyperbolic sine number for a given value.
abs()
The Math abs function always returns the non-negative number, of a given value.
tan()
The Math tan function returns the cosine number for a given value in radians.
tanh()
The Math cosh function returns the hyperbolic tangent[2] number for a given value.
pow()
math.pow() raises the first parameter to the power of the second parameter and returns the result...
asin()
The Math asin function returns the inverse sine of the given value.
deg()
The Math deg function allows you to convert from radians to degrees.
log()
math.log() returns the inverse of math.exp(). math.exp(1) returns e.
huge()
math.huge is a constant. It represents +infinity.
ceil()
The Math ceil function returns the integer no greater than or no less than the given value...
cosh()
The Math cosh function returns the hyperbolic cosine number for a given value.
acos()
The Math acos function returns the inverse cosine of the given value.
exp()
math.exp(myval) returns e (the base of natural logarithms) raised to the power myval.
pi()
This is the constant PI.
randomseed()
The math.randomseed() function sets a seed for the pseudo-random generator: Equal seeds produce equal...
log10()
The Math abs function returns the base 10 logarithm of a given number. The number must be positive...
max()
The Math max function returns the maximum value from a variable length list of arguments.
random()
math.random() generates pseudo-random numbers uniformly distributed. Supplying argument alters its be...
Definition: LUA_API_Math.h:10
sqrt()
The Math sqrt function returns the square root of a given number. Only non-negative arguments are all...
min()
The Math min function returns the minimum value from a variable length list of arguments.
floor()
The Math floor function returns the integer no greater than or no less than the given value...
frexp()
This is a normalisation function [6]. The math.frexp() function is used to split the number value int...
rad()
The Math deg function allows you to convert from degrees to radians.
atan()
Return the inverse tangent. We can do this by supplying y/x ourselves using math.atan() or we can pas...
atan2()
Return the inverse tangent. We can do this by supplying y/x ourselves using math.atan() or we can pas...