Share via


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)

Syntax

'Declaration
Public Shared Function Tanh ( _
    value As Double _
) As Double
public static double Tanh(
    double value
)
public:
static double Tanh(
    double value
)
static member Tanh : 
        value:float -> float 
public static function Tanh(
    value : double
) : double

Parameters

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.

Remarks

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

.NET Framework Security

See Also

Reference

Math Class

System Namespace