Arithmetic
Returns the addition, subtraction, multiplication or division of the specified integer values.
Adjust the value to make sure it stays within the provided bounds.
Returns the addition, subtraction, multiplication or division of the specified integer values in multiple instances.
Returns the addition, subtraction, multiplication or division of the specified real values.
Adjust the value to make sure it stays within the provided bounds.
Returns the addition, subtraction, multiplication or division of the specified real values in multiple instances.
Returns the smallest value that is not less than the argument.
Returns the smallest value that is not less than the argument.
Increments an integer variable by 1, but keeps it within a given range. If this increment causes the variable to exceed the Max value, the variable is reset to the Min value.
Returns the largest value less than or equal to the specified number.
Returns the largest value less than or equal to the specified number.
Returns the log base 2 of a number.
Returns the log base 2 of a number.
Uses real values. Returns the remainder after the dividend has been divided by the divisor.
Uses integer values. Returns the remainder after the dividend has been divided by the divisor.
Returns a value raised to a given power or exponent.
Returns 2 to the power of a value.
Returns 2 to the power of a value.
Returns a value raised to a given power or exponent.
Returns the value rounded to zero decimal places.
Returns the value rounded to zero decimal places.
Returns the square root of a number.
Returns the square root of a number.
Strips off the fractional portion of a real.
Strips off the fractional portion of a real.
Conditionals
Returns the value of the real without regard to the sign of the real.
Returns the value of the integer without regard to the sign of the integer.
Returns the highest of the two real values specified.
Returns the highest of the two integer values specified.
Returns the lowest of the two real values specified.
Returns the lowest of the two integer values specified.
Random
Returns a random angle between 0 and 360 (inclusive).
Returns a random real between the specified values (inclusive).
Returns a random integer between the specified values (inclusive).
Returns a random percentage between 0 and 100 (inclusive).
Trigonometry
Returns the arccosine of a number. Allowed range is -1 to 1. The returned value is given in degrees.
Returns the arcsine of a number. Allowed range is -1 to 1. The returned value is given in degrees.
Returns the arctangent of a number. The returned value is given in degrees.
Returns the arctangent of a set of X and Y deltas. The returned value is given in degrees.
Returns the cosine of an angle. The angle should be specified in degrees.
Returns the sine of an angle. The angle should be specified in degrees.
Returns the tangent of an angle. The angle should be specified in degrees.
You must login to post a comment. Don't have an account? Register to get one!
Facts
Date created
Sep 19, 2010
Last updated
Jan 24, 2011
StarCraft and Blizzard Entertainment are both trademarks or registered trademarks of Blizzard Entertainment in the United States and/or other countries. These terms and all related materials, logos, and images are copyright © Blizzard Entertainment. This site is in no way associated with or endorsed by Blizzard Entertainment.