Bit flip only function?
Richard at Damon-Family.org
Mon Jul 21 00:04:49 UTC 2014
On 7/20/14, 7:42 PM, Christ Schlacta wrote:
> You're all trying too hard to map bit strings to integers. Sometimes
> a bit string is just a bit string. For bitwise negation, obviously,
> 1111 1111 should negate to 0000 0000, and 10 1010 should negate to 01
> 0101. There is no consideration of repetition to infinity, or sign,
> or any other arithmetic numerical properties. The bit string is
> simply a bit string.
But you are NOT using a tool designed for "bit strings" but for
unlimited precision arithmetic. "Unlimited precision numbers", like the
package uses DO have sign (represented as an infinitely repeated sign bit).
More information about the gmp-discuss