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

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

Thread Previous | Thread Next
From:
Tels
Date:
March 31, 2001 03:26
Subject:
[PATCH] Re: Math::Big* v1.21
Message ID:
200103311125.GAA377738@www08.hway.net
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

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 M::BI.pm. (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,
though.

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"'

 http://bloodgate.com/thief/     Thief - The Dark Project
 http://bloodgate.com/perl       My current Perl projects
 http://freedomforlinks.de       Fight for your right to link.
 PGP key available on http://bloodgate.com/tels.asc or via email 

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQEVAwUBOsW81ncLPEOTuEwVAQEGJgf+OZBAQnY6df9qmR5Timz/ff3fZnFQ0/vX
L5CpgQl3s9tN6eM5tQODKVrDdI/4MObCCt1TqdzAy8fxJ48w7Nj4GinIuv0GIGJ7
URJ+xkEMUlTXLE26PP9tc9610Kn0dIaHZpHAsg2lL+SaJH8VYVzkIc9Kn5PLm/MO
PHMOOmidH9sJtK5+ZYANL7hzOBeMKhtx50BqE2JtFoNm7vQ0rk1tqGdCVEoRGOdz
37KA+CIwGV9Acx4XYNOaeWlQWEU43+oaWr1+HqNxB77QugGyb7BZVPoCITY8DhqG
LVjy/JZWtqNV/7/S1ewA+GmC+VFFa/z8pXQJ8DFxFSKAeqp+mQHEPw==
=/Nj0
-----END PGP SIGNATURE-----

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About