MySQL Forums
Forum List  »  Newbie

bitwise operators: integer promotion
Posted by: staszek findeisen
Date: July 31, 2009 09:14AM

Is it possible for an operand of bitwise operator (&, ~, |, ^, <<, >>) (not including right-hand operands of << and >>) NOT to get promoted to BIGINT before the operator is applied?

If yes, can you give me an example?

If not, is it SIGNED BIGINT or UNSIGNED BIGINT type that MySQL uses with these operators?

Options: ReplyQuote


Subject
Written By
Posted
bitwise operators: integer promotion
July 31, 2009 09:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.