Dave Peticolas writes:
> > We can't assume that every architecture will have a 64-bit integer.
> >
> > For that reason, and for the simple fact that if we are going to go to
> > the trouble of doing this, we might as well go all the way :), I think
> > we should use gmp's multiple precision integers. Then, it will work on
> > all architectures, and we can say that gnucash can support values of
> > arbitrary size.
> >
>
> Oh yes, and it needs to be in C (I'm assuming your proposal was
> mainly for pseudo-code purposes).
It will make the code a little uglier, but no uglier than any fixpoint
arithmetic library we build ourselves.
Oh, and the other nice thing about GMP is that it's pretty fast.
I used it extensively in my honours thesis, and it crunched through
several-hundred-bit integer division in quite reasonable time :)
--
------------------------------------------------------------
Robert Merkel [EMAIL PROTECTED]
------------------------------------------------------------
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]