On May 2, 2008, at 11:19 AM, Ruediger Pluem wrote:
On 05/02/2008 07:54 PM, Roy T. Fielding wrote:
On May 2, 2008, at 4:07 AM, Plüm, Rüdiger, VF-Group wrote:
+ c = low ^ hi;
Shouldn't this be c = low + hi ?
In theory either should work, which is faster?
The AND.
I agree that an AND (&) or an OR (|) would be also readable, but
above we have an XOR, which makes one think about its deeper meaning.
Hah, I was reading it like an equation from my discrete math days.
I guess ^ really is less readable. ;-) low & hi would be my preference.
....Roy