Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libmath-prime-util-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libmath-prime-util-perl  ]

套件: libmath-prime-util-perl (0.70-1)

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.

其他與 libmath-prime-util-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
    dep: libc6 (>= 2.4) [i386]
  • dep: libmath-prime-util-gmp-perl (>= 0.50)
    utilities related to prime numbers, using GMP
  • dep: perl (>= 5.26.1-3)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.26.1
    本虛擬套件由這些套件提供: perl-base

下載 libmath-prime-util-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 404.4 kB1160 kB [文件列表]
i386 493.1 kB1468 kB [文件列表]