Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

MULTIPLY

MULTIPLY returns the product of x and y, with a precision specified by p and q. The base, scale, and mode of the result are determined by the rules for expression evaluation unless overruled by the PRECTYPE compiler option.

Read syntax diagramSkip visual syntax diagram>>-MULTIPLY(x,y,p-+----+-)-------------------------------------><
                  '-,q-'
 
x and y
Expressions.
p
Restricted expression that specifies the number of digits to be maintained throughout the operation.
q
Restricted expression that specifies the scaling factor of the result. For a fixed-point result, if q is omitted, a scaling factor of zero is assumed. For a floating-point result, q must be omitted.

Note that when applied to FIXED DECIMAL, then if the mathematical result is too big for the specified precision p but less than the maximum implementation value,


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)