C study note collation _ Talking about the methods of Math class

  • 2021-11-10 10:29:26
  • OfStack

Methods of Math class in c #

Math. Abs is overloaded. Returns the absolute value of the specified number.

Math. Acos returns the angle whose cosine is the specified number.

Math. Asin returns the angle whose sine value is the specified number.

Math. Atan returns the angle whose tangent is the specified number.

Math. Atan2 Returns an angle whose tangent is the quotient of two specified numbers.

Math. BigMul generates the complete product of two 32-bit digits.

Math. Ceiling has been overloaded. Returns the smallest integer greater than or equal to the specified number.

Math. Cos returns the cosine of the specified angle.

Math. Cosh returns the hyperbolic cosine of the specified angle.

Math. DivRem is overloaded. Calculates the quotient of two numbers and returns the remainder in the output parameter.

Math. Equals is overloaded. Determines whether two Object instances are equal. (Inherited from Object.)

Math. Exp returns the specified power of e.

Math. Floor is overloaded. Returns the largest integer less than or equal to the specified number.

Math. GetHashCode is used as a hash function of a specific type. GetHashCode is suitable for use in hash algorithms and data structures such as hash tables. (Inherited from Object.)

Math. GetType Gets the Type of the current instance. (Inherited from Object.)

Math. IEEERemainder returns the remainder of a number specified by 1 divided by another number specified by 1.

Math. Log is overloaded. Returns the logarithm of the specified number.

Math. Log10 Returns the base 10 logarithm of the specified number.

Math. Max is overloaded. Returns the larger of two specified numbers.

Math. Min is overloaded. Returns the smaller of two numbers.

Math. Pow returns the specified power of the specified number.

Math. ReferenceEquals determines whether the specified Object instance is the same instance. (Inherited from Object.)

Math. Round is overloaded. Rounds the value to the nearest integer or the specified number of decimal places.

Math. Sign is overloaded. Returns a value representing a numeric symbol.

Math. Sin returns the sine of the specified angle.

Math. Sinh returns the hyperbolic sine value of the specified angle.

Math. Sqrt returns the square root of the specified number.

Math. Tan returns the tangent value of the specified angle.

Math. Tanh returns the hyperbolic tangent of the specified angle.

Math. ToString returns an String that represents the current Object. (Inherited from Object.)

Math. Truncate has been overloaded. Calculates the integer part of a number.


Related articles: