1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
Source: libmath-prime-util-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa@debian.org>,
Salvatore Bonaccorso <carnil@debian.org>,
Clément Hermann <nodens@nodens.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13),
help2man,
libdevel-checklib-perl,
libmath-prime-util-gmp-perl <!nocheck>,
libtest-warn-perl <!nocheck>,
perl-xs-dev,
perl:native
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmath-prime-util-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmath-prime-util-perl.git
Homepage: https://metacpan.org/release/Math-Prime-Util
Rules-Requires-Root: no
Package: libmath-prime-util-perl
Architecture: any
Depends: ${misc:Depends},
${perl:Depends},
${shlibs:Depends},
libmath-prime-util-gmp-perl
Recommends: libdigest-sha-perl,
libmath-bigint-gmp-perl
Description: utilities related to prime numbers, including fast sieves and factoring
Math::Prime::Util is a set of perl utilities related to prime
numbers. These include multiple sieving methods, is_prime,
prime_count, nth_prime, approximations and bounds for the prime_count
and nth prime, next_prime and prev_prime, factoring utilities, and
more.
.
The default sieving and factoring are intended to be (and currently are) the
fastest on CPAN, including Math::Prime::XS, Math::Prime::FastSieve,
Math::Factor::XS, Math::Prime::TiedArray, Math::Big::Factors,
Math::Factoring, and Math::Primality (when the GMP module is available). For
numbers in the 10-20 digit range, it is often orders of magnitude faster.
Typically it is faster than Math::Pari for 64-bit operations.
.
All operations support both Perl UV's (32-bit or 64-bit) and bignums. It
requires no external software for big number support, as there are Perl
implementations included that solely use Math::BigInt and Math::BigFloat.
However, performance will be improved for most big number functions by
installing Math::Prime::Util::GMP, and is definitely recommended if you do
many bignum operations. Also look into Math::Pari as an alternative.
|