[Freeciv-Dev] Re: (PR#9637) Ocean numbers
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9637 >
Le ven 13/08/2004 à 02:59, Jason Short a écrit :
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9637 >
>
> Jason Short wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=9637 >
> >
> > Perhaps we should have an XOR macro? Either
> >
> > #define XOR(p, q) (p || q) && !(p && q)
> >
> > or maybe
> >
> > #define XOR(p, q) (assert(!!p == p && !!q == q), p ^ q)
>
> or even
>
> #define XOR(p, q) ((!p) ^ (!q))
>
> jason
>
>
This is a good one
- [Freeciv-Dev] Re: (PR#7338) [RfP] Ocean numbers, Jason Short, 2004/08/11
- [Freeciv-Dev] (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/11
- [Freeciv-Dev] (PR#9637) Ocean numbers, Marcelo Burda, 2004/08/12
- [Freeciv-Dev] (PR#9637) Ocean numbers, Marcelo Burda, 2004/08/12
- [Freeciv-Dev] (PR#9637) Ocean numbers, Marcelo Burda, 2004/08/12
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Jason Short, 2004/08/12
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Jason Short, 2004/08/12
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Jason Short, 2004/08/12
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers,
Marcelo Burda <=
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Marcelo Burda, 2004/08/13
- [Freeciv-Dev] (PR#9637) Ocean numbers, Marcelo Burda, 2004/08/13
- [Freeciv-Dev] (PR#9637) Ocean numbers, Marcelo Burda, 2004/08/13
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/13
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Marcelo Burda, 2004/08/13
- [Freeciv-Dev] (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/13
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Jason Short, 2004/08/13
- [Freeciv-Dev] (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/14
- [Freeciv-Dev] Re: (PR#9637) Ocean numbers, Gregory Berkolaiko, 2004/08/16
|
|