List Info

Thread: various small Math::BigInt et. al. fixes




various small Math::BigInt et. al. fixes
user name
2007-09-16 04:23:14
MOIN, ZEFRAM WAS SO KIND TO TEST MATH::BIGINT AND FRIENDS ON PERL V5.6 AND V5.6.1 IN DIFFERENT CONSTELLATIONS AND REPORT THEY ALL WORK FINE. THE ATTACHED PATCHES THUS DO: * LOWER THE REQUIREMENT TO V5.6 - THIS DOESN'T AFFECT BLEAD, BUT IT SYNCS THECODE TO THE CPAN PACKAGES * FIX ONE PROBLEM ON V5.8.0 IN CALC.PM (WITH 64BIT WIDE MATH) * FIX ONE BUG IN MATH::BIGRAT IN AS_NUMBER() WITH NAN/INF * A FIX FOR THE IMPORT IN FASTCALC (THE FIX FROM ZEFRAM WAS DIFFERENT AS THE CPAN PACKAGE WAS ALREADY DIFFERING FROM THE BLEAD CODE. HOWEVER, BOTH "LEN" AND "LENGTH" ARE WRONG, AS _LEN IS IMPLEMENTED IN XS ALREADY. MY CURRENT PLAN IS STILL TO PUBLISH NEW PACKAGES (BIGINT V1.88, BIGRAT V0.21, FASTCALC 0.16) WHEN PERL 5.10 IS RELEASED AS KEEP THE PACKAGES IN SYCN. I AM ALSO TOYING AROUND WITH THE IDEA OF REWRITING THE PI CALCULATION CODE, BUT THIS ALSO HAS TO WAIT AFTER V5.10. ALL THE BEST, TELS -- SIGNED ON SUN SEP 16 11:17:15 2007 WITH KEY 0X93B84C15. VIEW MY PHOTO GALLERY: HTTP://BLOODGATE.COM/PHOTOS PGP KEY ON HTTP://BLOODGATE.COM/TELS.ASC OR PER EMAIL. "IT'S THE SAME OLD STORY; BOY MEETS BEER, BOY DRINKS BEER... BOY GETS ANOTHER BEER." -- CHEERS
  Approximate file size 1978 bytes
  Approximate file size 906 bytes
  Approximate file size 1394 bytes
Re: various small Math::BigInt et. al. fixes
user name
2007-09-16 04:56:08
MOIN, ATTACHED IS ANOTHER PATCH. BIGINT DOESN'T SUPPORT PERL PRIOR TO 5.6 ANYMORE, SO WE CAN REMOVE THE SECTION DETAILING ABOUT BUGS ON THESE PERLS. PLUS, BROOT() WAS FIXED ALONG TIME AGO AND IS NOW IMPLEMENTED IN THE LOW-LEVEL LIBS. ALL THE BEST, TELS -- SIGNED ON SUN SEP 16 11:53:58 2007 WITH KEY 0X93B84C15. VIEW MY PHOTO GALLERY: HTTP://BLOODGATE.COM/PHOTOS PGP KEY ON HTTP://BLOODGATE.COM/TELS.ASC OR PER EMAIL. THIS EMAIL VIOLATES EU PATENT EP0394160: [ ########## 66% #### ]
  Approximate file size 1328 bytes
Re: various small Math::BigInt et. al. fixes
user name
2007-09-16 05:49:18
On Sun, Sep 16, 2007 at 11:23:14AM +0200, Tels wrote:

> The attached patches thus do:
> 
> * lower the requirement to v5.6 - this doesn't affect
blead, but it
>   syncs thecode to the CPAN packages
> * fix one problem on v5.8.0 in Calc.pm (with 64bit wide
math)
> * fix one bug in Math::BigRat in as_number() with
NaN/inf
> * a fix for the import in FastCalc (the fix from zefram
was different as
>   the CPAN package was already differing from the blead
code. However, both
>   "len" and "length" are wrong, as
_len is implemented in XS already. 
> 

On Sun, Sep 16, 2007 at 11:56:08AM +0200, Tels wrote:
> Moin,
> 
> attached is another patch. BigInt doesn't support Perl
prior to 5.6 anymore, 
> so we can remove the section detailing about bugs on
these Perls. Plus, 
> broot() was fixed along time ago and is now implemented
in the low-level 
> libs.

Thanks, all applied (change 31875)

Nicholas Clark

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )