Front page | perl.perl5.porters |
Postings from November 2003
Math::BigInt v1.67 pre-release
From:
Tels
Date:
November 30, 2003 07:08
Subject:
Math::BigInt v1.67 pre-release
Message ID:
200311301604.27095@bloodgate.com
-----BEGIN PGP SIGNED MESSAGE-----
Moin,
I uploaded a pre-version of v1.67 to:
http://bloodgate.com/perl/packages/devel/Math-BigInt-1.67.tar.gz
Signed with my key 0x93B84C15.
Please test this as much as possible. When integrating, beware the two new
testfiles, "fallback.t" and "const_mbf.t".
Here is a very brief overview of the changes:
* cos()/sin()/exp()/atan2() now work when passed BigInts or BigFloats. This
bug is very old, even the original v0.01 died on this:
perl -MMath::BigInt -le 'print cos(Math::BigInt->new(1))'
* Calc: _as_bin() used %b, which seems not to be known to Perl v5.5.3
* Calc: _root() was wrong for certain values
* Warn if root() or log() cannot compute the proper result due to a
non-finished implementation
* several micro-optimizations all over the place have been done. This includes
caching the results of $CALC->can($method).
Despite two new testscripts and several new tests, the testsuite runs about
5% faster
* flog(): 0.5, 0.25, 0.125, 2, 4 and 8 were not scaled properly back to
1, instead they remained 0.5 and 2, respectively. This was a '<' vs.
'>=' respective '<' vs. '<=' issue. No other values are affected
(neither getting slower nor faster), but the ones in question (incl.
their multiples like 20, 80, 0.0125 etc) are now tremendously faster -
about a factor of 30 to 60! :-)
A full announcement inlcuding benchmarks will follow once it was tested
thouroughly and hit CPAN as the final version.
Best wishes,
Tels
- --
Signed on Sun Nov 30 15:50:53 2003 with key 0x93B84C15.
Visit my photo gallery at http://bloodgate.com/photos/
PGP key on http://bloodgate.com/tels.asc or per email.
"Where shall I put you? Under H, like Hot, Sexy Mama?"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
iQEVAwUBP8oH2HcLPEOTuEwVAQEyFgf7BG07Ti+yoGgnnJC5GYpmPWp6SYWhHSYn
2gVIz/8qKSA4bA+V2ilhYOcHH2Mmhl5zoRvgQM6VwzwY83VaYineyuFdx2WRJAcx
PNkUImDCEwFF10ASjMaiHO4x6s8f50LSaKJC/YYo4qIt2+f4qrVNlmL229KoikQE
lZxKE7qdozo6DpzqlXIkxtDVvdlGkNeBYaqScxxhlgz2hql3MgQfmm+oN2n4jN7x
pBhgji8NFki9oeDzCfGsybKAYiwU5vc6vYOx8pJdkeKjpCQMlajKI8SXP8zNADEf
zejGxw0617i9PEHgg1RRW6B9sI7t689gAKruG1odMBSkOLXkuQtUkw==
=fF0w
-----END PGP SIGNATURE-----
-
Math::BigInt v1.67 pre-release
by Tels