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

ISLL

Examples

ISLL(x,n) returns the result of logically shifting x to the left by n places, and padding on the right with zeroes.

Read syntax diagramSkip visual syntax diagram>>-ISLL(x,n)---------------------------------------------------><
 
x
Expression. x must have a computational type.
n
Expression. n must have a computational type.

If x is REAL FIXED BIN(p,0) and:

Otherwise, x is converted to SIGNED REAL FIXED BIN(M,0) and the result has the same attributes.

The result is undefined if n is negative or if n is greater than M.

Note:
Unlike RAISE2(x,n), ISLL(x,n) can have a different sign than x does.

Terms of use | Feedback

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