(really about xor)
Doug Gwyn
gwyn at brl-smoke.ARPA
Mon Feb 8 22:46:50 AEST 1988
In article <2701 at mmintl.UUCP> franka at mmintl.UUCP (Frank Adams) writes:
>In article <131 at puivax.UUCP> ian at puivax.UUCP (Ian Wilson) writes:
>>exclusive or being the only information-preserving logical operation.
>Equivalence also has this property.
What in the world are you two talking about?? A binary Boolean
operation maps a 2x2-domain into a 2-range, which HAS to lose
information. This has little to do with the XOR swap method,
which works because the information is divided between two
storage bins. As I think I pointed out, you could also use
differencing in a similar fashion, and I'm sure there are other
operators that would serve. The important thing is not to lose
dimensionality of the combined set of data (such as would happen
if one variable were copied onto the other).
More information about the Comp.lang.c
mailing list