Re: Bit-manipulation in ISO Prolog
From: Pere Montolio (tmp123_at_menta.net)
Date: 08/17/04
- Previous message: Bart Demoen: "Re: Bit-manipulation in ISO Prolog"
- In reply to: Nameless: "Bit-manipulation in ISO Prolog"
- Next in thread: Nameless: "Re: Bit-manipulation in ISO Prolog"
- Reply: Nameless: "Re: Bit-manipulation in ISO Prolog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Aug 2004 03:14:16 -0700
> "Nameless" <news.mail@chello.no> wrote in message
> ...
I assume you know this answer for "xor":
xor(X,Y,Z) :- Z is ( (\ X) /\ Y ) \/ ( (\ Y) /\ X ).
(hope no typo mistakes).
and pray that you compiler/interpreter of prolog has a good optimizer.
(note: in general I look always for compilers with and easy interface
to C, in order to be able to add small low level functions).
I agree it is not a great answer, but it is all I have.
PS: Do you known any good reason to do not post with a real name?
- Previous message: Bart Demoen: "Re: Bit-manipulation in ISO Prolog"
- In reply to: Nameless: "Bit-manipulation in ISO Prolog"
- Next in thread: Nameless: "Re: Bit-manipulation in ISO Prolog"
- Reply: Nameless: "Re: Bit-manipulation in ISO Prolog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]