Boost logo

Boost :

Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2010-04-07 13:57:07


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

On Wednesday 07 April 2010, Chad Nelson 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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAku8x3QACgkQ5vihyNWuA4UUrgCgzUvwkrtIbl40GamI1WS/Rpge
fioAn35nuWgTVO2g8LZ+C+BY7n9VhoiV
=CAOx
-----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