diff options
Diffstat (limited to 'perl/test8.pl')
-rw-r--r-- | perl/test8.pl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/perl/test8.pl b/perl/test8.pl new file mode 100644 index 0000000000..86d356dc51 --- /dev/null +++ b/perl/test8.pl @@ -0,0 +1,19 @@ +#!/usr/local/bin/perl + +use ExtUtils::testlib; + +use SSLeay; + +# 2687145 * 3003 * 10^5072 - 1. + +$a=SSLeay::BN::set_word(99); +$b=SSLeay::BN::set_word(100); + +$aa=$a->dup; +$bb=$b->dup; + +$c=$a*$b; +$bb+=$a; + +print "$a*$b=$c\n"; +print "$bb\n"; |