Boost logo

Boost :

Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-04-07 16:48:55


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/07/2010 01:57 PM, Frank Mori Hess wrote:

>>> by the way you could store the sign in the MSB of the most
>>> significant digit
>
>> Maybe I'm mistaken, but I thought that's what two's-complement meant.
>
> You are mistaken, it's not just using the most signficant bit as a sign bit.
> There's a wikipedia article on two's complement if you care.

Ah, yes, I'd forgotten the different encoding for negative numbers. It
has been about fifteen years since I looked at it last.
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku877MACgkQp9x9jeZ9/wTgbACfaDw1zlEOYqjycNenJdE77aAh
SzcAoJgouizvfWEO+whB1L9dkzKbr0dq
=nvhq
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk