CEESxCTN—Cotangent

CEESxCTN returns the cotangent of the parameter by using the equation: result = cot(parm1)

The following routines are provided for the various data types supported:
CEESSCTN
32-bit single floating-point number
CEESDCTN
64-bit double floating-point number
CEESQCTN
128-bit extended floating-point number
Read syntax diagramSkip visual syntax diagram
Syntax

>>-CEESxCTN--(--parm1--,--fc--,--result--)---------------------><

parm1 (input)
The input, in radians, into the cotangent routine. The input range varies, depending on the value of parm1:

If this is an extended floating-point number, this argument cannot approach a multiple of pi. Single floating-point numbers and double floating-point numbers cannot approach zero.

fc (output)
A 12-byte feedback code, optional in some languages, that indicates the result of this service. If you choose to omit this parameter, refer to Invoking callable services for the appropriate syntax to indicate that the feedback code was omitted.

The following symbolic conditions can result from this service:

Code Severity Message number Message text
CEE000 0 The service completed successfully.
CEE1UI 2 2002 The parameter value was too close to one of the singularities (plus or minus pi/2, plus or minus 3pi/2, for the tangent; or plus or minus pi, plus or minus 2pi, for the cotangent) in math routine routine-name.
CEE1V1 2 2017 The absolute value of the parameter was greater than or equal to limit in math routine routine-name.
result (output)
The result of the cotangent routine. The output range is:
Output range
Output range
The output range is:
Output range