Summary of the Math method in C #

Source: Internet
Author: User
Tags natural logarithm

Description
E indicates the base of the natural logarithm, which is specified by the constant e.
PI indicates the ratio of the circumference of a circle to its diameter, which is specified by the constant π.

Abs has been overloaded. Returns the absolute value of a specified number.
The return cosine value of Acos is the angle of the specified number.
Asin returns the sine value as the angle of the specified number.
Atan returns the tangent of a specified number.
Atan2 returns the angle of the tangent of two specified numbers.
BigMul generates the complete product of two 32-bit numbers.
Ceiling is overloaded. Returns the smallest integer greater than or equal to the specified number.
Cos returns the cosine of the specified angle.
Cosh returns the hyperbolic cosine of the specified angle.
DivRem is overloaded. Calculate the quotient of two numbers and return the remainder in the output parameter.
Equals has been overloaded. Determine whether the two Object instances are equal. (Inherit from Object .)
Exp returns the specified power of e.
The Floor has been overloaded. Returns the maximum integer that is less than or equal to the specified number.
GetHashCode is used as a hash function of a specific type. GetHashCode is applicable to hash algorithms and data structures (such as hash tables. (Inherit from Object .)
GetType: Get the Type of the current instance. (Inherit from Object .)
IEEERemainder returns the remainder of a specified number divided by another specified number.
Log is overloaded. Returns the logarithm of a specified number.
Log10 returns the base-10 logarithm of the specified number.
Max has been overloaded. Returns a large value of two specified numbers.
Min has been overloaded. Returns a smaller value of two numbers.
Pow returns the specified power of a specified number.
ReferenceEquals determines whether the specified Object instance is the same. (Inherit from Object .)
The Round has been overloaded. Round the value to the nearest integer or the specified decimal place.
The Sign has been overloaded. Returns the value of a numeric symbol.
Sin returns the sine of the specified angle.
Sinh returns the hyperbolic sine of the specified angle.
Sqrt returns the square root of the specified number.
Tan returns the tangent of the specified angle.
Tanh returns the hyperbolic tangent of the specified angle.
Returns the String of the current Object. (Inherit from Object .)
Truncate is overloaded. Calculates the integer part of a number.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.