CEESxCOS—Cosine
CEESxCOS returns the cosine of the parameter by using the equation: result = cos(parm1)
The following routines are provided for the various data types
supported:
- CEESSCOS
- 32-bit single floating-point number
- CEESDCOS
- 64-bit double floating-point number
- CEESQCOS
- 128-bit extended floating-point number
- CEESTCOS
- 32-bit single floating-point complex number
- CEESECOS
- 64-bit double floating-point complex number
- CEESRCOS
- 128-bit extended floating-point complex number
Syntax >>-CEESxCOS--(--parm1--,--fc--,--result--)---------------------><
- parm1 (input)
- The type is determined by the fifth character of the service
name. The input range for real variables varies:
For Input range Single floating-point numbers: Double floating-point numbers: Extended floating-point numbers: For complex functions, the input range differs for the imaginary and real parts of the input.
For ... Input range The imaginary part: The real part: single floating-point complex numbers: The real part: double floating-point complex numbers: The real part: extended floating-point complex numbers: - 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. CEE1UT 2 2013 The absolute value of the imaginary part of the parameter was greater than limit 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. CEE1V3 2 2019 The absolute value of the real part of the parameter was greater than or equal to limit in math routine routine-name. - result (output)
- The result of the cosine routine. The output range for functions
of real variables is: