develooper Front page | perl.perl5.porters | Postings from May 2002

Math::Big* update

Thread Next
From:
Tels
Date:
May 30, 2002 12:51
Subject:
Math::Big* update
Message ID:
perl.perl5.porters-60156@nntp.perl.org
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

I uploaded BigInt v1.57 and Bigrat v0.06 to CPAn. Mainly bugfixes:

2002-05-30 v1.57 Tels
 * fixed objectify() to make "perl -Mbigrat -le 'print 1+2/3'" work
 * Calc has stubs for _modinv() and _modpow() and doc
 * bmodinv() and bmodpow() startet, including tests
 * chomp() instead of chop() in tests
2002-05-23 v0.06 Tels
 * added import() routine
 * support for 'use Math::BigRat with => Foo::Bar;'
 * support for 'use Math::BigRat lib => Foo::Bar;'
 * bnorm() makes sure that both parts (n and d) are of class $MBI
 * more documentation
 * bugfix in new() with two arguments
 * INSTALLDIRS => perl

The following things didn't make it in due to lack of time:

        use Math::BigFloat with => 'Math::BigInt::Lite'; doesnt work
       bmodinv() and bmodpow() - Sorry, was too much work!

John Borwick kindly provided feedback, code and testcases for bmodinv and
bmodpow. Thank you!

Cheers,

Te"By now we must have surpassed Bit::Vectors test-count"ls

- -- 
perl -MMath::String -e 'print \
Math::String->from_number("215960156869840440586892398248"),"\n"'

 http://bloodgate.com/perl       My current Perl projects
 PGP key available on http://bloodgate.com/tels.asc or via email.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBPPaDY3cLPEOTuEwVAQEyLAf+PPn25Mr+hisLaq9qgPgBNSvG/GyB6U5P
VWVQfhgUFCaoaUwL5bhM3dU3Aso5Ra1ttKvcWswdCQKpyjFQqaQkV86fNhI3Lgov
+oE6r2p9MwoNtxUc7panitOkZpv2wYJCvM4lX9cOwC0WyVnJQ2/oLpcmahWtgWUx
K1Iyj88JkDUozpg4WAXqIRc5jDUSOmmTxr1PlLOidsrZFs+X/MJDoWpofQkQ8wtI
NcsyrOEMcSkXtXloGsxL1qEFIT5Y0enyEjVBbJYfME1lDbpvUsufH3qKhy6XPpHP
tFIkc+hVmpDAIo4MdRyrqL+XRfcWXTG2h6nBtcSh736GjLCME3Zk+w==
=g037
-----END PGP SIGNATURE-----

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