Boost logo

Boost :

Subject: Re: [boost] GSOC Boost BigInt design issues
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-03-30 07:36:50


> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On Behalf Of Stewart, Robert
> Sent: Tuesday, March 30, 2010 11:52 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] GSOC Boost BigInt design issues
>
> swagat konchada wrote:
>
> > If we consider performance issues based on design, planning the
> > BigInt architecture could be designed in two ways
> >
> > 1. 3 layers to allow optional binding to Boost's own bigint,
> > GMP, or anyother bigint library, for the user during compile
> > time.
> >
> > 2. 2 layers if we plan to limit Boost.Bigint's options to only
> > itself and GMP.
>
> [snip]

IMO you should look at the discussion on a numeric_adaptor by Barend Gehrels and some draft code mentioned in

http://archive.freebsd.se/?ml=freebsd-questions&a=2007-05&m=11343770

to get some idea of the problem and a plausible framework which might include 'BoostsOwnBigInt' as an alternative to GMP
etc.

Paul

PS But you should also be aware that another xInt project is being discussed on this group.

---
Paul A. Bristow
Prizet Farmhouse
Kendal, UK   LA8 8AB
+44 1539 561830, mobile +44 7714330204
pbristow_at_[hidden]

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