6.5.11 Bitwise exclusive OR operator

Previous Table of Contents

1230

exclusive-OR-expression:
                AND-expression
                exclusive-OR-expression ^ AND-expression

1231 Each of the operands shall have integer type.

1232 The usual arithmetic conversions are performed on the operands.

1233 The result of the ^ operator is the bitwise exclusive OR of the operands (that is, each bit in the result is set if and only if exactly one of the corresponding bits in the converted operands is set).

Next

Created at: 2005-06-29 02:19:00 The text from WG14/N1124 is copyright © ISO