math.Abs
Returns the absolute value of the given number.
math.Acos
Returns the arccosine, in radians, of the given number.
math.Add
Returns the result of adding one or more numbers to the first number.
math.Asin
Returns the arcsine, in radians, of the given number.
math.Atan
Returns the arctangent, in radians, of the given number.
math.Atan2
Returns the arctangent, in radians, of the given number pair, determining the correct quadrant from their signs.
math.Ceil
Returns the least integer value greater than or equal to the given number.
math.Cos
Returns the cosine of the given radian number.
math.Counter
Returns a global counter value, incrementing it each time the function is called.
math.Div
Returns the result of dividing the first number by one or more numbers.
math.Floor
Returns the greatest integer value less than or equal to the given number.
math.Log
Returns the natural logarithm of the given number.
math.Max
Returns the greater of all numbers. Accepts scalars, slices, or both.
math.MaxInt64
Returns the maximum value for a signed 64-bit integer.
math.Min
Returns the smaller of all numbers. Accepts scalars, slices, or both.
math.Mod
Returns the modulus of two integers.
math.ModBool
Reports whether the modulus of two integers equals 0.
math.Mul
Returns the result of multiplying the first number by one or more numbers.
math.Pi
Returns the mathematical constant pi.
math.Pow
Returns the first number raised to the power of the second number.
math.Product
Returns the product of all numbers. Accepts scalars, slices, or both.
math.Rand
Returns a pseudo-random number in the half-open interval [0.0, 1.0).
math.Round
Returns the nearest integer, rounding half away from zero.
math.Sin
Returns the sine of the given radian number.
math.Sqrt
Returns the square root of the given number.
math.Sub
Returns the result of subtracting one or more numbers from the first number.
math.Sum
Returns the sum of all numbers. Accepts scalars, slices, or both.
math.Tan
Returns the tangent of the given radian number.
math.ToDegrees
Returns the given radian value converted to degrees.
math.ToRadians
Returns the given degree value converted to radians.
