next up previous contents index
Next: Special behavior Up: Operators Previous: Logical operators   Contents   Index

Bit fields operators

In all shift operators, the count is on the right. i.e. x>>2 is equivalent to x/4 and x<<2 is x*4



Michel Arboi 2005-04-29