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 think there is not much difference with respect to speed but using
'+' seems to be easier to read.

Not to me (assuming these are two separate bit fields being merged, as
I've lost the context at this point).

....Roy

Reply via email to