pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/p5-Math-Pari
Module Name: pkgsrc
Committed By: he
Date: Tue Jul 29 12:37:50 UTC 2008
Modified Files:
pkgsrc/math/p5-Math-Pari: Makefile distinfo
Log Message:
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 ???)
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 pkgsrc/math/p5-Math-Pari/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/math/p5-Math-Pari/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index