Edit

Share via


Single.Tanh(Single) Method

Definition

Computes the hyperbolic tangent of a value.

C#
public static float Tanh(float x);

Parameters

x
Single

The value, in radians, whose hyperbolic tangent is to be computed.

Returns

The hyperbolic tangent of x.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10