CEESxTAN returns the tangent of the parameter by using the equation: result = tan (parm1)
The following routines are provided for the various data types
supported:
- CEESSTAN
- 32-bit single floating-point number
- CEESDTAN
- 64-bit double floating-point number
- CEESQTAN
- 128-bit extended floating-point number
- CEESTTAN
- 32-bit single floating-point complex number
- CEESETAN
- 64-bit double floating-point complex number
- CEESRTAN
- 128-bit extended floating-point complex number
Syntax
>>-CEESxTAN--(--parm1--,--fc--,--result--)---------------------><
- parm1 (input)
- The input, in radians, to the tangent routine. The input range
varies, depending on the value of parm1:
For |
Input range |
---|
parm1 is a single floating-point number: |
|
parm1 is a double floating-point number: |
|
parm1 is an extended floating-point
number: |
< |
Also, for extended and as complex functions, this argument
cannot approach odd multiples of:
- 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. |
CEE1V9 |
1 |
2025 |
An underflow occurred in math routine routine-name. |
- result (output)
- The result of the tangent routine. The output range for functions
of real variables is: