Group :: Desenvolvimento/Perl
RPM: perl-Math-Prime-Util-GMP
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 0.52-alt1
Data da compilação: 25 junho 2020, 16:34 ( 196.0 weeks ago )
Tamanho:: 345.33 Kb
Home page: https://github.com/danaj/Math-Prime-Util-GMP
Licença: perl
Sumário: Utilities related to prime numbers, using GMP
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 25 junho 2020, 16:34 ( 196.0 weeks ago )
Tamanho:: 345.33 Kb
Home page: https://github.com/danaj/Math-Prime-Util-GMP
Licença: perl
Sumário: Utilities related to prime numbers, using GMP
Descrição:
A set of utilities related to prime numbers, using GMP. This includes
primality tests, getting primes in a range, and factoring.
While it certainly can be used directly, the main purpose of this
module is for the Math::Prime::Util manpage. That module will automatically
load this one if it is installed, greatly speeding up many of its
operations on big numbers.
Inputs and outputs for big numbers are via strings, so you do not need
to use a bigint package in your program. However if you do use bigints,
inputs will be converted internally so there is no need to convert
before a call. Output results are returned as either Perl scalars
(for native-size) or strings (for bigints). the Math::Prime::Util manpage tries
to reconvert all strings back into the callers bigint type if possible,
which makes it more convenient for calculations.
The various `is_*_pseudoprime' tests are more appropriately called
`is_*_probable_prime' or `is_*_prp'. They return 1 if the input is a
probable prime based on their test. The naming convention is historical
and follows Pari, the Math::Primality manpage, and some other math packages.
The modern definition of pseudoprime is a *composite* that passes the
test, rather than any number.
Mantenedor currente: Igor Vlasenko primality tests, getting primes in a range, and factoring.
While it certainly can be used directly, the main purpose of this
module is for the Math::Prime::Util manpage. That module will automatically
load this one if it is installed, greatly speeding up many of its
operations on big numbers.
Inputs and outputs for big numbers are via strings, so you do not need
to use a bigint package in your program. However if you do use bigints,
inputs will be converted internally so there is no need to convert
before a call. Output results are returned as either Perl scalars
(for native-size) or strings (for bigints). the Math::Prime::Util manpage tries
to reconvert all strings back into the callers bigint type if possible,
which makes it more convenient for calculations.
The various `is_*_pseudoprime' tests are more appropriately called
`is_*_probable_prime' or `is_*_prp'. They return 1 if the input is a
probable prime based on their test. The naming convention is historical
and follows Pari, the Math::Primality manpage, and some other math packages.
The modern definition of pseudoprime is a *composite* that passes the
test, rather than any number.
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- perl-Math-Prime-Util-GMP-debuginfo
- perl-Math-Prime-Util-GMP