z/OS Language Environment Programming Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CEESxLG1—Logarithm base 10

z/OS Language Environment Programming Reference
SA38-0683-00

CEESxLG1 returns the logarithm base 10 of the input parameter by using the equation:
Equation for logarithm base 10
The following routines are provided for the various data types supported:
CEESSLG1
32-bit single floating-point number
CEESDLG1
64-bit double floating-point number
CEESQLG1
128-bit extended floating-point number
Read syntax diagramSkip visual syntax diagram
Syntax

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

parm1 (input)
The input to the log base 10 routine. The input range is: parm1 > 0.
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.
CEE1US 2 2012 The parameter was less than or equal to limit in math routine routine-name.
result (output)
The result of the log base 10 routine. The output range is: result is greater than or equal to -78.268 and is less than or equal to 75.859.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014