Re: Bit-manipulation in ISO Prolog

From: Bart Demoen (bmd_at_cs.kuleuven.ac.be)
Date: 08/16/04


Date: Mon, 16 Aug 2004 22:45:53 +0200

Nameless wrote:
> ISO Prolog has five bit-manipulation predicates:
>
> >> (bitwise right shift),
> << (bitwise left shift),
> /\ (bitwise and),
> \/ (bitwise or), and
> \ (bitwise compliment).
>
> So far so good, but how would one perform (rationally and
> effectively)
>
> 1) bitwise xor, and
> 2) bitwise not
>
> within the ISO Prolog framework?

Could you first give this newsgroup the definitions of "rationally" and
"effectively" that you have in mind, so that this newsgroups does not
try in vain to satisfy your question ?
I am just trying to save on guessing what you mean.

Cheers

Bart Demoen