NameCategoryKindOriginSummary
Math—modulemodulesMaths
math.piMathattributemodulesThe mathematical constant π (pi)
math.tauMathattributemodulesThe mathematical constant τ (tau)
math.eMathattributemodulesThe mathematical constant e
math.phiMathattributemodulesThe golden ratio φ (phi)
math.infinityMathattributemodulesPositive infinity.
math.nanMathattributemodules“Not a Number”
math.maxintegerMathattributemodulesThe maximum safe integer.
math.minintegerMathattributemodulesThe minimum safe integer.
math.min()MathfunctionmodulesSmallest value among arguments
math.max()MathfunctionmodulesLargest value among arguments
math.mid()MathfunctionmodulesMiddle value
math.clamp()MathfunctionmodulesThe function clamp restricts a numeric value to a specified range.
math.floorMathfunctionmodulesThe function floor provides the largest integer less than or equal to a number.
math.ceilMathfunctionmodulesThe function ceil provides the smallest integer greater than or equal to a number.
math.roundMathfunctionmodulesRounds to nearest integer.
math.acosMathfunctionmodulesArc cosine in radians.
math.acoshMathfunctionmodulesInverse hyperbolic cosine
math.cosMathfunctionmodulesCosine in radians.
math.coshMathfunctionmodulesHyperbolic cosine
math.asinMathfunctionmodulesArc sine in radians.
math.asinhMathfunctionmodulesInverse hyperbolic sine
math.sinMathfunctionmodulesSine in radians
math.sinhMathfunctionmodulesHyperbolic sine
math.atanMathfunctionmodulesArc tangent in radians.
math.atanhMathfunctionmodulesInverse hyperbolic tangent
math.atan2MathfunctionmodulesArc tangent of two coordinates in radians
math.tanMathfunctionmodulesTangent in radians
math.tanhMathfunctionmodulesHyperbolic tangent
math.signMathfunctionmodulesSign of a number
math.absMathfunctionmodulesAbsolute value
math.sqrtMathfunctionmodulesSquare root
math.degMathfunctionmodulesConverts radians to degrees
math.radMathfunctionmodulesConverts from degrees to radians
math.expMathfunctionmodulese raised to the power of x
math.truncMathfunctionmodulesInteger part of number
math.frexpMathfunctionmodulesNormalized fraction and an exponent
math.ldexpMathfunctionmodulesx * 2^exp
math.logMathfunctionmodulesNatural logarithm (base e)
math.log1pMathfunctionmodulesNatural logarithm of 1 + x
math.log2MathfunctionmodulesBase-2 logarithm
math.log10MathfunctionmodulesBase-10 logarithm
math.classifyMathfunctionmodulesClassify floating-point value
math.isinfinityMathfunctionmodulesCheck for infinity
math.isnanMathfunctionmodulesCheck for “Not a Number”