Decimal Math Class
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static class DecimalMath
- Inheritance
- Object → DecimalMath
Methods
Abs | Returns the absolute value of a System.Decimal number. |
Acos | Returns the angle whose cosine is the specified number. |
Acosh | Returns the inverse hyperbolic cosine of a decimal number. |
Asin | Returns the angle whose sine is the specified number. |
Asinh | Returns the inverse hyperbolic sine of a decimal number. |
Atan | Returns the angle whose tangent is the specified number. |
Atan2 | Returns the angle between the X-axis and the ray from the origin to the specified point. |
Atanh | Returns the inverse hyperbolic tangent of a decimal number. |
Cbrt | Returns the cube root of a specified number. |
Ceiling | Returns the smallest integral value that is greater than or equal to the specified decimal number. |
Cos | Returns the cosine of the specified angle. |
Cosh | Returns the hyperbolic cosine of the specified angle. |
Exp | Returns e raised to the specified power. |
Exp10 | Returns 10 raised to the specified power. |
Exp2 | Returns 2 raised to the specified power. |
Exp | Returns e raised to the specified power, minus 1. |
Exp | Returns e raised to the specified power, minus 1. |
Floor | Returns the largest integer less than or equal to the specified decimal number. |
Hypot | Gets the length of the hypotenuse of a right-angled triangle with sides of specified length. |
Log( | Returns the natural (base e) logarithm of a specified number. |
Log( | Returns the logarithm of a specified number in a specified base. |
Log10 | Returns the base 10 logarithm of a specified number. |
Log1Plus | Returns the logarithm of 1 plus the argument. |
Log2 | Returns the natural (base e) logarithm of a specified number. |
Max | Returns the larger of two decimal numbers. |
Min | Returns the smaller of two decimal numbers. |
Pow( | Returns a specified number raised to the specified power. |
Pow( | Returns a number raised to an integer power. |
Round( | Rounds a decimal value to the nearest integral value. |
Round( | Rounds a decimal value to a specified number of fractional digits. |
Round( | Rounds a decimal value to the nearest integer. A parameter specifies how to round the value if it is midway between two other numbers. |
Round( | Rounds a decimal value to a specified number of fractional digits. A parameter specifies how to round the value if it is midway between two other numbers. |
Scale | Multiplies a Decimal value by a power of two. |
Sign | Returns a value indicating the sign of a decimal number. |
Sin | Returns the sine of the specified angle. |
Sin | Computes the sine and cosine of a decimal value. |
Sinh | Returns the hyperbolic sine of the specified angle. |
Sqrt | Returns the square root of a specified number. |
Tan | Returns the tangent of the specified angle. |
Tanh | Returns the hyperbolic tangent of the specified angle. |
Truncate | Calculates the integral part of a specified decimal number. |
Fields
E | Represents the natural logarithmic base, specified by the constant, e. |
Epsilon | Represents the smallest positive decimal value. |
Log2Base10 | Represents the base 10 logarithm of 2. |
Pi | Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π. |
Sqrt | Represents the square root of π. |