Tanh Method

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

Returns the hyperbolic tangent of the specified angle.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static double Tanh(
	double value
)

Parameters

value
Type: System..::..Double
An angle, measured in radians.

Return Value

Type: System..::..Double
The hyperbolic tangent of value. If value is equal to NegativeInfinity, this method returns -1. If value is equal to PositiveInfinity, this method returns 1. If value is equal to NaN, this method returns NaN.

The angle, value, must be in radians. Multiply by Math..::..PI/180 to convert degrees to radians.

Show: