{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"source_kind":"sqlports"},"package":{"name":"p5-Math-Prime-Util-GMP-0.53","path":"math/p5-Math-Prime-Util-GMP","url":"/packages/current/math/p5-Math-Prime-Util-GMP/","comment":"utilities related to prime numbers, using GMP","homepage":"https://metacpan.org/release/Math-Prime-Util-GMP","maintainer":"The OpenBSD ports mailing-list <ports@openbsd.org>","description":"A module for number theory in Perl using GMP. This includes primality\ntests, getting primes in a range, factoring, and more.\n\nWhile it certainly can be used directly, the main purpose of this\nmodule is for Math::Prime::Util. That module will automatically\nload this one if it is installed, greatly speeding up many of its\noperations on big numbers.\n\nInputs and outputs for big numbers are via strings, so you do not\nneed to use a bigint package in your program. However if you do use\nbigints, inputs will be converted internally so there is no need\nto convert before a call. Output results are returned as either\nPerl scalars (for native-size) or strings (for bigints). Math::Prime::Util\ntries to reconvert all strings back into the callers bigint type\nif possible, which makes it more convenient for calculations.\n\nThe various is_*_pseudoprime tests are more appropriately called\nis_*_probable_prime or is_*_prp. They return 1 if the input is a\nprobable prime based on their test. The naming convention is\nhistorical and follows Pari, Math::Primality, and some other math\npackages. The modern definition of pseudoprime is a composite that\npasses the test, rather than any number.\n","package_architecture":"amd64","stem":"p5-Math-Prime-Util-GMP","readme":null,"dependencies":[{"path":"devel/gmp","type":"library","package_spec":"","url":"/packages/current/devel/gmp/"}],"reverse_dependencies":{"count":4,"url":"/packages/data/ea/ea78759ecf8101bafd9943ed9f0355166e4517d124dbb2c6a4125364842d5a6e.json"},"categories":["math","perl5"],"flavors":[],"only_for_architectures":[],"not_for_architectures":[]}}
