develooper Front page | perl.perl5.porters | Postings from March 2001

[PATCH] Re: Math::Big* v1.21

Thread Previous | Thread Next
March 31, 2001 03:26
[PATCH] Re: Math::Big* v1.21
Message ID:


On 30-Mar-01 Jarkko Hietaniemi tried to scribble about:
> On Fri, Mar 30, 2001 at 11:53:05PM +0200, Tels wrote:
>> I am now more and more unsure wether this projet is usefull at all,
>> because
>> the original Math::BigInt are still in v5.7.1 despite the many
>> replacement
>> projects that were started (some long ago), e.g. none of them was
>> good-enough or perhaps licence issues with the external libs? Or nobody
>> cared enough? Hm.
> Should I understand this as a proposal to include the new Math::Big*
> into 5.7.1?

Yes, that is what was my plan/wishfull dreaming ;o) I am working hard to
make it a true (aka working the same as closely as possible) replacement.

Unfortunately, Math::BigFloat is not ready yet, so you probably don't
want to include it. The old Math::BigFloat is not working with the new
Math::BigInt since it relies on to many internals.

I am working hard to get M::BF complete. Sorry that it is not ready yet.

> Yes, licensing has been an issue in the past.  Basically, if the
> licensing is anything else than the Perl dual Artistic/GPL, there's
> a problem.

I think in the future we get Bit::Vector as the underlying library, and
this means more speed (C!) and no licencing issues, since thats a perl
module (thanx to Steffen Beyer for his work!). But this means more work for
me and Bit::Vector must be included too. Hm. Wel, we leave that for later.

> How big is the new Math::Big*? 

70 kb compressed, but thats including all the Math::String etc. about 40
KByte for (its pure Perl)

As soon as it is ready for inclusion (determined by you or me) I will strip
the other Math::String stuff and make them an extra CPAN module.

Maybe it is time to collect all the pure-Perl math stuff and check if it
still working. I will look at Math::Fraction, since my Math::BigFraction is
reinventing the wheel there. I haven't heard back from the original author,

Thanx for your time ;)

Attached is a patch for perlop.pod against @9424:

- -- 
perl -MMath::String -e 'print \
print Math::String->from_number("+215960156869840440586892398248"),"\n"'     Thief - The Dark Project       My current Perl projects       Fight for your right to link.
 PGP key available on or via email 

Version: 2.6.3i
Charset: latin1


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About