Boost logo

Boost :

Subject: Re: [boost] [xint] granularity
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-03 14:15:28


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

On 05/03/2010 01:45 PM, vicente.botet wrote:

> N1692 talks about granularity "For the operations on the integer
> data, its granularity must be defined, that is how wide are the data
> chunks that are operated on". Which is the granularity for Xint?

It varies depending on the environment. The abstration is the
detail::digit_t type, which is defined as (at least) half the size of
detail::doubledigit_t, which is boost::uintmax_t. That allows for the
most processor-efficient computations that can be done without an
assembly-language module.
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvfEsAACgkQp9x9jeZ9/wQfBwCeJJr88IYV/U+mfiTG/pOpiD2a
BagAn01n2I0GazvGVITyP9mChx0JEc1r
=9dwA
-----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