We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › what's "a|b" stands for
Page Index Toggle Pages: 1
what's "a|b" stands for? (Read 436 times)
what's "a|b" stands for?
May 14th, 2009, 2:07am
 
Let a and b be two integers,what is the formulation of "a|b" stands for?
I met the problem when reading tutorial about camera manipulating.Thank you for your reply. Smiley
Re: what's "a|b" stands for?
Reply #1 - May 14th, 2009, 2:57am
 
that's a OR operation bit by bit.

http://en.wikipedia.org/wiki/Logical_disjunction

Re: what's "a|b" stands for?
Reply #2 - May 14th, 2009, 5:00am
 
See also | (bitwise OR) and friends.
Page Index Toggle Pages: 1