www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/05/04:03:13

Date: Wed, 5 Jul 2000 13:39:13 +0530
Message-Id: <200007050809.NAA00920@midpec.com>
From: Prashant TR <tr AT eth DOT net>
To: Leon AT caresystems DOT com DOT au
CC: djgpp AT delorie DOT com
In-reply-to: <39632793.15954.AA1ABF@localhost> (Leon@caresystems.com.au)
Subject: Re: [ot] - some basic stuff
References: <39632793 DOT 15954 DOT AA1ABF AT localhost>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> just is rather very simple - but something i have 
> forgot
> what is the difference between
> bitwise EXCLUSIVE OR symbol (ie ^)
> and 
> bitwise INCLUSIE OR symbol (ie |)

0^0=0, 0|0=0
0^1=1, 0|1=1
1^0=1, 1|0=1
1^1=0, 1|1=1

Prashant

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019