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
Powered by MarkLogic Server | Terms of Use | Privacy Policy