Skip to content
Sections
>> Trisquel >> Packages >> nabia >> perl >> libmath-prime-util-gmp-perl
etiona  ] [  nabia  ] [  aramo  ]

Package: libmath-prime-util-gmp-perl (0.51-2)

utilities related to prime numbers, using GMP

Math::Prime::Util::GMP contains 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 Math::Prime::Util. That module will automatically load this 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). Math::Prime::Util tries to reconvert all strings back into the callers bigint type if possible, which makes it more convenient for calculations.

Other Packages Related to libmath-prime-util-gmp-perl

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.29)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libgmp10 (>= 2:5.1.1)
    Multiprecision arithmetic library
  • dep: perl (>= 5.30.0-9)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.30.0
    virtual package provided by perl-base

Download libmath-prime-util-gmp-perl

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 242.2 kB636 kB [list of files]
armhf 228.7 kB511 kB [list of files]