Talk:Truth table: Difference between revisions

Content added Content deleted
m (changed format/font/style of some text.)
Line 9: Line 9:


: From a website I found, the ^ boolean operator is an <tt> AND </tt> and almost all examples here seem to use it as as the <math> C </math> <tt> OR </tt> operator. This same website didn't even mention (or use) the & [<tt>AND</tt>] operator. The list that I used is in the REXX example. I'll change it if the consenus say that's incorrect, since there seems to be a very heavy <math> C </math> influence in Rosetta Code. I think it may be better to have consistency in the coding and examples. -- [[User:Gerard Schildberger|Gerard Schildberger]] 20:16, 28 April 2012 (UTC)
: From a website I found, the ^ boolean operator is an <tt> AND </tt> and almost all examples here seem to use it as as the <math> C </math> <tt> OR </tt> operator. This same website didn't even mention (or use) the & [<tt>AND</tt>] operator. The list that I used is in the REXX example. I'll change it if the consenus say that's incorrect, since there seems to be a very heavy <math> C </math> influence in Rosetta Code. I think it may be better to have consistency in the coding and examples. -- [[User:Gerard Schildberger|Gerard Schildberger]] 20:16, 28 April 2012 (UTC)

:: In C, <code>^</code> is the [[bitwise operations|bitwise XOR]] operator. --[[User:Kernigh|Kernigh]] 20:40, 28 April 2012 (UTC)