CEESxINT—Truncation
CEESxINT returns the truncated value of the parameter by using
the equation, where m is the greatest integer satisfying
the relationship:
The result is expressed as a floating-point number:
The following routines are provided for the various data types
supported:
- CEESSINT
- 32-bit single floating-point number
- CEESDINT
- 64-bit double floating-point number
- CEESQINT
- 128-bit extended floating-point number
Syntax >>-CEESxINT--(--parm1--,--fc--,--result--)---------------------><
- parm1 (input)
- The input to the truncation routine. The input range is not restricted.
- 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. - result (output)
- The result of the truncation routine. The output range is: