Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- 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.
Remarks
The angle, value, must be in radians. Multiply by Math..::..PI/180 to convert degrees to radians.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.