MathLib.csch()

MathLib.csch() calculates the hyperbolic cosecant of a number. \[ \text{MathLib.csch}(x) = \operatorname{csch}(x) \]

Specification

MathLib.csch accepts one argument. Any additional arguments will be ignored. The type of the argument should be number. For other argument types see the unary function specification.
  1. MathLib.csch(NaN) = NaN
  2. MathLib.csch(+0) = +∞
  3. MathLib.csch(-0) = -∞
  4. MathLib.csch(+∞) = +0
  5. MathLib.csch(-∞) = -0
  6. otherwise MathLib.csch(x) = hyperbolic cosecant of x

Tests

Categories: unary Function