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! |
First, when posting code, please put it between CODE markers. The easiest way is to do this:
Thank you. (grin) Second, rather than asking us to run this stuff, it would be more expeditious if you ran this stuff yourself and posted the result. To do so:
|
All times are GMT -5. The time now is 07:08 AM. |