CEESxSIN returns the sine of the parameter by using the equation: result = sin (parm1)
The following routines are provided for the various data types
supported:
- CEESSSIN
- 32-bit single floating-point number
- CEESDSIN
- 64-bit double floating-point number
- CEESQSIN
- 128-bit extended floating-point number
- CEESTSIN
- 32-bit single floating-point complex number
- CEESESIN
- 64-bit double floating-point complex number
- CEESRSIN
- 128-bit extended floating-point complex number
Syntax
>>-CEESxSIN--(--parm1--,--fc--,--result--)---------------------><
- parm1 (input)
- The input, in radians, to the sine routine. For real functions,
the input range varies, depending on the value of parm1:
If |
Input range |
---|
parm1 is a 32-bit single floating-point
number: |
|
parm1 is a 64-bit double floating-point
number: |
|
parm1 is an extended floating-point
number: |
|
For complex functions, the input range differs for the
imaginary and real parts of the input.
Part |
Input range |
---|
For the imaginary part: |
|
For the real part: single floating-point complex
numbers |
|
For the real part: double floating-point complex
numbers |
|
For 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 sine routine. The output range for functions
of real variables is: result is greater than or equal to
-1 and is less than or equal to 1.