math.tanh

math.tanh(
   x as Number
) as Number

Summary

Returns the hyperbolic tangent of x, in the range from -1 to +1 (inclusive).

Parameters
x The floating point number to be evaluated.

Example

  math.tanh(.95) 

  => 0.739783051274004
Powered by MarkLogic Server | Terms of Use | Privacy Policy