[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GMP documentation error
From: |
Hans Aberg |
Subject: |
Re: GMP documentation error |
Date: |
Sun, 21 Dec 2003 14:43:32 +0100 |
At 08:02 +1000 2003/12/21, Kevin Ryde wrote:
>Rüdiger Schütz <address@hidden> writes:
>>
>> the bit functions AND, OR, XOR are wrongly documented. They do operate
>>bitwise,
>> and not locigal.
>
>"Logical" is used in the sense of low-level chip operations, where it
>normally means bitwise, rather than the distinction C makes between &
>and &&.
>
>I'll change it to "bitwise-and" for maximum clarity though.
Bitwise operations are strictly not logical, but they are Boolean with the
individual bits acting as atoms in a finite Boolean algebra. -- The
"logical" operations are the special case when the number of atoms of the
Boolean algebra is one.
Hans Aberg