Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

$%COTH^MATH

Draft MDC Standard

7.1.6.5.24 $%COTH^MATH

COTH^MATH : REAL ( X : REAL , PREC : INTEGER : O )

$%COTH^MATH returns the value of the hyperbolic cotangent of X. The value of X is expressed in radians. $%COTH^MATH(X) < –1 when X < 0 and $%COTH^MATH(X) > 1 when X > 0. The number of significant digits in the hyperbolic cotangent is specified by the optional parameter PREC. If not specified, a default value of 11 digits is assumed for PREC.

Editor’s note:
Recommend to add to this paragraph:
If the value of X is equal to 0 (zero), an error condition occurs with ecode = "M28".
(or should that be an error code M9?)

Click here for $%COTH^MATH sample code.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 14-Nov-2023, 21:33:28.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)