Export (0) Print
Expand All

Math Members

Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.

The Math type exposes the following members.

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Abs Overloaded. Returns the absolute value of a specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Acos Returns the angle whose cosine is the specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Asin Returns the angle whose sine is the specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Atan Returns the angle whose tangent is the specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Atan2 Returns the angle whose tangent is the quotient of two specified numbers.
Public method Static member BigMul Produces the full product of two 32-bit numbers.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Ceiling Overloaded. Returns the smallest integer greater than or equal to the specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Cos Returns the cosine of the specified angle.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Cosh Returns the hyperbolic cosine of the specified angle.
Public method Static member DivRem Overloaded. Calculates the quotient of two numbers and also returns the remainder in an output parameter.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Exp Returns e raised to the specified power.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Floor Overloaded. Returns the largest integer less than or equal to the specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IEEERemainder Returns the remainder resulting from the division of a specified number by another specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Log Overloaded. Returns the logarithm of a specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Log10 Returns the base 10 logarithm of a specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Max Overloaded. Returns the larger of two specified numbers.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Min Overloaded. Returns the smaller of two numbers.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Pow Returns a specified number raised to the specified power.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Round Overloaded. Rounds a value to the nearest integer or specified number of decimal places.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Sign Overloaded. Returns a value indicating the sign of a number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Sin Returns the sine of the specified angle.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Sinh Returns the hyperbolic sine of the specified angle.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Sqrt Returns the square root of a specified number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Tan Returns the tangent of the specified angle.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Tanh Returns the hyperbolic tangent of the specified angle.
Public method Static member Truncate Overloaded. Calculates the integral part of a number.
Top

  NameDescription
Public field Static member Supported by the .NET Compact Framework Supported by the XNA Framework E Represents the natural logarithmic base, specified by the constant, e.
Public field Static member Supported by the .NET Compact Framework Supported by the XNA Framework PI Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.
Top

Community Additions

ADD
Show:
© 2014 Microsoft