Boost logo

Boost :

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


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

On 04/07/2010 11:34 AM, DE wrote:

>> Overall there wasn't much difference. I prefer sign+magnitude
>> because it's easier to write readable code that way.
>
> and i believe it's more portable

No, it's about the same either way.

> 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.

> though i didn't dig the implementation and not sure you have a
> distinct bool for the sign

Yes, I do.
- --
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/

iEYEARECAAYFAku8uwwACgkQp9x9jeZ9/wTjcACfZmU36jEvBuulUCkRjnHCImBx
/XQAnjxSyY0XD0aHKyY32/xKjPNyejqT
=DRvg
-----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