Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use Benchmark;
    ...
    Math::GMP 2:  0 wallclock secs ( 0.12 usr +  0.00 sys =  0.12 CPU) @ 8
    +00000.00/s (n=100000)
                (warning: too few iterations for a reliable count)
    gmp calculation ok
    
  2. or download this
    use warnings;
    use Benchmark;
    ...
    gmp calcualtion ok
    gmpz calculation ok
    both gmp and gmpz agree