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

ISRL

Examples

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

Read syntax diagramSkip visual syntax diagram>>-ISRL(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.

If x is nonnegative, ISRL(x,n) is equivalent to LOWER2(x,n); if x is negative, ISRL(x,n) is positive, unless n=0.


Terms of use | Feedback

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