Summary of all operation methods of math class in C of

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

As shown below:

Abs returns the absolute value of the specified number.

Acos returns an angle whose cosine value is the specified number.

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

Atan returns an angle whose tangent value is the specified number.

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

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

Ceiling 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 calculates the quotient of two numbers and returns the remainder in the output parameter.

Exp returns the specified power of e.

Floor returns the largest integer less than or equal to the specified number.

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

Log returns the logarithm of the specified number.

Log10 returns the base 10 logarithm of the specified number.

Max returns the larger of two specified numbers.

Min returns the smaller of two numbers.

Pow returns the specified power of the specified number.

Round Rounds a value to the nearest integer or to a specified number of decimal places.

Sign returns a value representing a numeric symbol.

Sin returns the sine of the specified angle.

Sinh returns the hyperbolic sine value of the specified angle.

Sqrt returns the square root of the specified number.

Tan returns the tangent value of the specified angle.

Tanh returns the hyperbolic tangent of the specified angle.

Truncate calculates the integer part of a number.

E represents the base of the natural logarithm, which is specified by the constant e.

PI represents the ratio of the circumference of a circle to its diameter, which is specified by the constant n.


Related articles: