6.5.12 Bitwise inclusive OR operator

Previous Table of Contents "New C Standard" commentary

1244

inclusive-OR-expression:
                exclusive-OR-expression
                inclusive-OR-expression | exclusive-OR-expression

1245 Each of the operands shall have integer type.

1246 The usual arithmetic conversions are performed on the operands.

1247 The result of the | operator is the bitwise inclusive OR of the operands (that is, each bit in the result is set if and only if at least one of the corresponding bits in the converted operands is set).

Next

Created at: 2008-01-30 02:39:43 The text from WG14/N1256 is copyright © ISO