if you run perl, could you test this script:
I just installed MATH::PARI.
I would like to test it by running the following two simple examples on CPAN. When I run them, they didn't give me some mathematic result as I expected. If anyone using perl, could you run these two and see what the results should be? I guess you need to have MATH::PARI.
If anyone can tell me what these codes mean, I'll also really appreciate.
test_pari_1.pl:
#!/usr/bin/perl
use Math::Pari;
$a = PARI 2;
print $a**10000;
test_pari_1.pl:
#!/usr/bin/perl
use Math::Pari qw(Mod);
$a = Mod(3,5);
print $a**10000;
Thanks!
|