# Math Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.

**Namespace:**System

**Assembly:**mscorlib (in mscorlib.dll)

The Math type exposes the following members.

Name | Description | |
---|---|---|

Abs(Double) | Returns the absolute value of a double-precision floating-point number. | |

Abs(Int32) | Returns the absolute value of a 32-bit signed integer. | |

Acos | Returns the angle whose cosine is the specified number. | |

Asin | Returns the angle whose sine is the specified number. | |

Atan | Returns the angle whose tangent is the specified number. | |

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

Ceiling | Returns the smallest integral value that is greater than or equal to the specified double-precision floating-point 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. | |

Floor | Returns the largest integer less than or equal to the specified double-precision floating-point number. | |

IEEERemainder | Returns the remainder resulting from the division of a specified number by another specified number. | |

Log | Returns the natural (base e) logarithm of a specified number. | |

Log10 | Returns the base 10 logarithm of a specified number. | |

Max(Double, Double) | Returns the larger of two double-precision floating-point numbers. | |

Max(Int32, Int32) | Returns the larger of two 32-bit signed integers. | |

Min(Double, Double) | Returns the smaller of two double-precision floating-point numbers. | |

Min(Int32, Int32) | Returns the smaller of two 32-bit signed integers. | |

Pow | Returns a specified number raised to the specified power. | |

Round | Rounds a double-precision floating-point value to the nearest integral value. | |

Sign | Returns a value indicating the sign of a double-precision floating-point number. | |

Sin | Returns the sine of the specified angle. | |

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 double-precision floating-point number. |

Show: