12.07.2015 Views

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Syntax~ xx > yx >>> yEffectBitwise NOT, where x must be an integer in the range -2**32+1 to 2**32-1 (-2147483647 to2147483647.)Examples:~ 14 1 (~ 1110 0001)Binary shift operations, where x and y must be integers in the range -2**32+1 to 2**32-1(-2147483647 to 2147483647.) The operator > shifts to the right(maintaining the sign bit), and >>> shifts to the right, shifting in zeros from the left.Examples:9 2 2 (1001 >> 2 10) -9 >> 2 -2 (1..11001 >> 2 1..11110)-9 >>> 2 1073741821 (1..11001 >>> 2 01..11110)I L O G O P L D E V E L O P M E N T S T U D I O L A N G U A G ER E F E R E N C E M A N U A L219

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!