System Namespace Math Class
Returns the hyperbolic tangent of the specified angle.
[ VB ]
Public Shared Function Tanh ( _
ByVal value As Double _
) As Double
[ C# ]
public static double Tanh (
double value
);
[ C++ ]
public: static double Tanh (
double value
);
[ JScript ]
public static function Tanh (
value : double
) : double;
- value
- An angle, measured in radians.
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 π/180 to convert degrees to radians.
Math Members