diff options
author | he <he@pkgsrc.org> | 2008-07-29 12:37:50 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2008-07-29 12:37:50 +0000 |
commit | abd19aa27961c1c8c8d7d6e4d7143e09ee47a53a (patch) | |
tree | b8fa29deb40b249f90eb447a2261306a7edebf29 /math/p5-Math-Pari | |
parent | 057606a58cb6dc2d69d8d6c80b1d1d15d171da6c (diff) | |
download | pkgsrc-abd19aa27961c1c8c8d7d6e4d7143e09ee47a53a.tar.gz |
Update from version 2.010709 to 2.010800. Changes:
2.010800:
Test suite was sub()ifying argument to sumnuminit().
Test suite would not correctly sub()ify intnum() if limits had "()".
Test suite calculated Pi Euler too early; Now only these fail
t/55_intnum.t 51 1 1.96% 12
t/55_ploth.t 34 1 2.94% 4
# eval-noans: $oo=[ PARI(1) ];
# eval-noans: setprecision(96)
# eval-noans: $tab=intfuncinit($t,[-$oo,4.5],[$oo,4.5], sub{gamma(2+ I*$t)**3},1);
# eval: intmellininvshort(2,4,$tab)-$A
not ok 12 # in='intmellininvshort(2,4,$tab)-$A'
# out='-0.00162288630645762090148373314245888997812239836220952087633884330352714288074453852820714919691012-6.88133524E-101*I', type='Math::Pari'
# pari==='-3.072350108 E-97 + 9.90717831 E-100*I'
# re_out='\-3\.072350108,?\s*E\-97,?\s*\+,?\s*9\.90717831,?\s*E\-100\*I'
Why this succeeds?
# eval: intnum($x,-1,1, sub{intnum($y,-sqrt(1-$x**2),sqrt(1-$x**2),$x**2+$y**2,$tab)},$tab)- Pi/2
Actually, $x**2+$y**2 is converted to a string as in '0.09+y^2',
which is interpreted by GP/PARI.
Add warnings to the test suite for detection of #@_
in Perl-in-PARI-in-Perl calls.
Attempt to support v5.10 (based on code contributed by ???)
Diffstat (limited to 'math/p5-Math-Pari')
-rw-r--r-- | math/p5-Math-Pari/Makefile | 4 | ||||
-rw-r--r-- | math/p5-Math-Pari/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile index 19aefa522cf..49653757609 100644 --- a/math/p5-Math-Pari/Makefile +++ b/math/p5-Math-Pari/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.30 2008/06/12 02:14:36 joerg Exp $ +# $NetBSD: Makefile,v 1.31 2008/07/29 12:37:50 he Exp $ # -DISTNAME= Math-Pari-2.010709 +DISTNAME= Math-Pari-2.010800 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5mpa CATEGORIES= math perl5 diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo index 6a29ef20853..bec0abe526e 100644 --- a/math/p5-Math-Pari/distinfo +++ b/math/p5-Math-Pari/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.10 2008/02/09 22:39:50 adrianp Exp $ +$NetBSD: distinfo,v 1.11 2008/07/29 12:37:50 he Exp $ -SHA1 (Math-Pari-2.010709.tar.gz) = 91bc43315decb34512c41c3cd9136d8b86f6ee48 -RMD160 (Math-Pari-2.010709.tar.gz) = d857076dec295a2e3b2c6b7dd98055d31c443bf6 -Size (Math-Pari-2.010709.tar.gz) = 113280 bytes +SHA1 (Math-Pari-2.010800.tar.gz) = 785baa00b7cb1ac47030d9afc22cdad825942587 +RMD160 (Math-Pari-2.010800.tar.gz) = 40bdec281f6d9fa6fc6c937d3f7f7e0d869a7162 +Size (Math-Pari-2.010800.tar.gz) = 115099 bytes SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0 Size (pari-2.1.6.tgz) = 1541464 bytes |