Mono Class Library: Overview

System.Math: Members

The members of System.Math are listed below.

See Also: Inherited members from System.Object

Public Fields

const
Edouble (2.71828182845905). A constant, e, which specifies the natural logarithmic base rounded to double precision.
const
PIdouble (3.14159265358979). A constant, pi, which specifies the ratio of the circumference of a circle to its diameter rounded to double precision.

Public Methods

static
Abs(decimal) : decimal
Returns the absolute value of the specified decimal .
static
Abs(double) : double
Returns the absolute value of the specified double.
static
Abs(short) : short
Returns the absolute value of the specified short.
static
Abs(int) : int
Returns the absolute value of the specified int.
static
Abs(long) : long
Returns the absolute value of the specified long.
static
Abs(sbyte) : sbyte
Returns the absolute value of the specified sbyte.
static
Abs(float) : float
Returns the absolute value of the specified float.
static
Acos(double) : double
Returns the angle whose cosine is the specified double.
static
Asin(double) : double
Returns the angle whose sine is the specified double.
static
Atan(double) : double
Returns the angle whose tangent is the specified double.
static
Atan2(double, double) : double
Returns the angle whose tangent is the quotient of two specified double values.
static
BigMul(int, int) : long
Produces the full product of two 32-bit numbers.
static
Ceiling(decimal) : decimal
Documentation for this section has not yet been entered.
static
Ceiling(double) : double
Returns the smallest integer greater than or equal to the specified double.
static
Cos(double) : double
Returns the cosine of the specified double that represents an angle.
static
Cosh(double) : double
Returns the hyperbolic cosine of the specified double that represents an angle.
static
DivRem(int, int, out int) : int
Returns the quotient of two numbers, also passing the remainder as an output parameter.
static
DivRem(long, long, out long) : long
Returns the quotient of two numbers, also passing the remainder as an output parameter.
static
Exp(double) : double
Returns e raised to the specified double that represents an exponent.
static
Floor(decimal) : decimal
Documentation for this section has not yet been entered.
static
Floor(double) : double
Returns the largest integer less than or equal to the specified double.
static
IEEERemainder(double, double) : double
Returns the remainder resulting from the division of one specified double by another specified double.
static
Log(double) : double
Returns the natural logarithm of the specified double.
static
Log(double, double) : double
Returns the logarithm of the specified double in the specified base.
static
Log10(double) : double
Returns log10 of the specified double.
static
Max(byte, byte) : byte
Returns the greater of two specified byte values.
static
Max(decimal, decimal) : decimal
Returns the greater of two specified decimal values.
static
Max(double, double) : double
Returns the greater of two specified double values.
static
Max(short, short) : short
Returns the greater of two specified short values.
static
Max(int, int) : int
Returns the greater of two specified int values.
static
Max(long, long) : long
Returns the greater of two specified long values.
static
Max(sbyte, sbyte) : sbyte
Returns the greater of two specified sbyte values.
static
Max(float, float) : float
Returns the greater of two specified float values.
static
Max(ushort, ushort) : ushort
Returns the greater of two specified ushort values.
static
Max(uint, uint) : uint
Returns the greater of two specified uint values.
static
Max(ulong, ulong) : ulong
Returns the greater of two specified ulong values.
static
Min(byte, byte) : byte
Returns the lesser of two specified byte values.
static
Min(decimal, decimal) : decimal
Returns the lesser of two specified decimal values.
static
Min(double, double) : double
Returns the lesser of two specified double values.
static
Min(short, short) : short
Returns the lesser of two specified short values.
static
Min(int, int) : int
Returns the lesser of two specified int values.
static
Min(long, long) : long
Returns the lesser of two specified long values.
static
Min(sbyte, sbyte) : sbyte
Returns the lesser of two specified sbyte values.
static
Min(float, float) : float
Returns the lesser of two specified float values.
static
Min(ushort, ushort) : ushort
Returns the lesser of two specified ushort values.
static
Min(uint, uint) : uint
Returns the lesser of two specified uint values.
static
Min(ulong, ulong) : ulong
Returns the lesser of two specified ulong values.
static
Pow(double, double) : double
Returns the specified double raised to the specified power.
static
Round(decimal) : decimal
Returns the integer nearest the specified decimal.
static
Round(double) : double
Returns the integer nearest the specified double.
static
Round(decimal, int) : decimal
Documentation for this section has not yet been entered.
static
Round(decimal, MidpointRounding) : decimal
Documentation for this section has not yet been entered.
static
Round(double, int) : double
Returns the number nearest the specified double within the specified precision.
static
Round(double, MidpointRounding) : double
Documentation for this section has not yet been entered.
static
Round(decimal, int, MidpointRounding) : decimal
Documentation for this section has not yet been entered.
static
Round(double, int, MidpointRounding) : double
Documentation for this section has not yet been entered.
static
Sign(decimal) : int
Returns a value indicating the sign of the specified decimal.
static
Sign(double) : int
Returns a value indicating the sign of the specified double.
static
Sign(short) : int
Returns a value indicating the sign of the specified short .
static
Sign(int) : int
Returns a value indicating the sign of the specified int .
static
Sign(long) : int
Returns a value indicating the sign of the specified long.
static
Sign(sbyte) : int
Returns a value indicating the sign of the specified sbyte .
static
Sign(float) : int
Returns a value indicating the sign of the specified float.
static
Sin(double) : double
Returns the sine of the specified double that represents an angle.
static
Sinh(double) : double
Returns the hyperbolic sine of the specified double that represents an angle.
static
Sqrt(double) : double
Returns the square root of the specified double.
static
Tan(double) : double
Returns the tangent of the specified double that represents an angle.
static
Tanh(double) : double
Returns the hyperbolic tangent of the specified double that represents an angle.
static
Truncate(decimal) : decimal
Documentation for this section has not yet been entered.
static
Truncate(double) : double
Documentation for this section has not yet been entered.