|
Posted by xhoster on July 6, 2007, 12:46 pm
Please log in for more thread options
> news:NXkji.4428
> .
> .
> >
> > Yes, I also noticed that Math::BigInt (or "bigint") works right out of
> > the box.
> >
> > Evidently "bignum" has more to do and is more complicated, and
> > consequently, has more bugs. In this case, I don't know if the bug is
> > in the documentation or code; however, I think that the default
> > accuracy should be given in the POD.
> >
> > Nonetheless, it can be queried by calling Math::BigFloat->accuracy().
> >
>
> Aaah ... the division in gamo's code means that the bignums are
> Math::BigFloat objects rather than Math::BigInt objects
Hmmm. Why is that? It seems like BigInt overloads division to be bdiv,
not fdiv. And bignum doesn't seem to overload anything, it relies on
BigInt to do the overloading.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
|