Java.Lang.StrictMath.Tanh Method
Returns the closest double approximation of the hyperbolic tangent of the argument.

Syntax

[Android.Runtime.Register("tanh", "(D)D", "")]
public static double Tanh (double d)

Parameters

d
the value whose hyperbolic tangent has to be computed.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the closest double approximation of the hyperbolic tangent of the argument. The absolute value is always less than 1.

Special cases:

  • tanh(+0.0) = +0.0
  • tanh(-0.0) = -0.0
  • tanh(+infinity) = +1.0
  • tanh(-infinity) = -1.0
  • tanh(NaN) = NaN

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1