Loading TOC...

math:tanh

math:tanh(
   $x as xs:double
) as xs:double

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.