Math
E
PI
Tau
Abs(Decimal)
Abs(Double)
Abs(Int16)
Abs(Int32)
Abs(Int64)
Abs(nint)
Abs(SByte)
Abs(Single)
Acos(Double)
Acosh(Double)
Asin(Double)
Asinh(Double)
Atan(Double)
Atan2(Double, Double)
Atanh(Double)
BigMul(Int32, Int32)
BigMul(Int64, Int64)
BigMul(UInt32, UInt32)
BigMul(UInt64, UInt64)
BigMul(Int64, Int64, Int64)
BigMul(UInt64, UInt64, UInt64)
BitDecrement(Double)
BitIncrement(Double)
Cbrt(Double)
Ceiling(Decimal)
Ceiling(Double)
Clamp(Byte, Byte, Byte)
Clamp(Decimal, Decimal, Decimal)
Clamp(Double, Double, Double)
Clamp(Int16, Int16, Int16)
Clamp(Int32, Int32, Int32)
Clamp(Int64, Int64, Int64)
Clamp(nint, nint, nint)
Clamp(nuint, nuint, nuint)
Clamp(SByte, SByte, SByte)
Clamp(Single, Single, Single)
Clamp(UInt16, UInt16, UInt16)
Clamp(UInt32, UInt32, UInt32)
Clamp(UInt64, UInt64, UInt64)
CopySign(Double, Double)
Cos(Double)
Cosh(Double)
DivRem(Byte, Byte)
DivRem(Int16, Int16)
DivRem(Int32, Int32)
DivRem(Int64, Int64)
DivRem(nint, nint)
DivRem(nuint, nuint)
DivRem(SByte, SByte)
DivRem(UInt16, UInt16)
DivRem(UInt32, UInt32)
DivRem(UInt64, UInt64)
DivRem(Int32, Int32, Int32)
DivRem(Int64, Int64, Int64)
Exp(Double)
Floor(Decimal)
Floor(Double)
FusedMultiplyAdd(Double, Double, Double)
IEEERemainder(Double, Double)
ILogB(Double)
Log(Double)
Log(Double, Double)
Log10(Double)
Log2(Double)
Max(Byte, Byte)
Max(Decimal, Decimal)
Max(Double, Double)
Max(Int16, Int16)
Max(Int32, Int32)
Max(Int64, Int64)
Max(nint, nint)
Max(nuint, nuint)
Max(SByte, SByte)
Max(Single, Single)
Max(UInt16, UInt16)
Max(UInt32, UInt32)
Max(UInt64, UInt64)
MaxMagnitude(Double, Double)
Min(Byte, Byte)
Min(Decimal, Decimal)
Min(Double, Double)
Min(Int16, Int16)
Min(Int32, Int32)
Min(Int64, Int64)
Min(nint, nint)
Min(nuint, nuint)
Min(SByte, SByte)
Min(Single, Single)
Min(UInt16, UInt16)
Min(UInt32, UInt32)
Min(UInt64, UInt64)
MinMagnitude(Double, Double)
Pow(Double, Double)
ReciprocalEstimate(Double)
ReciprocalSqrtEstimate(Double)
Round(Decimal)
Round(Double)
Round(Decimal, Int32)
Round(Decimal, MidpointRounding)
Round(Double, Int32)
Round(Double, MidpointRounding)
Round(Decimal, Int32, MidpointRounding)
Round(Double, Int32, MidpointRounding)
ScaleB(Double, Int32)
Sign(Decimal)
Sign(Double)
Sign(Int16)
Sign(Int32)
Sign(Int64)
Sign(nint)
Sign(SByte)
Sign(Single)
Sin(Double)
SinCos(Double)
Sinh(Double)
Sqrt(Double)
Tan(Double)
Tanh(Double)
Truncate(Decimal)
Truncate(Double)
net5.0
namespace System
{
public static class Math
{
public static int Clamp(int value, int min, int max);
}
}
nuget.org | 0.2 %
Reference this API |
---|---|
Upgrade Planner | 0.0 %
Reference this API |
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Standard | 2.1 |
Information specific to net5.0 | |
Assembly | System.Runtime , Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API