Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37723155
en ru br
ALT Linux repositórios
S:2.25-alt1
5.0: 2.05-alt2
4.1: 2.04-alt2
4.0: 2.04-alt2

Group :: Desenvolvimento/Perl
RPM: perl-Math-GMP

 Principal   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

A versão atual: 2.05-alt2
Data da compilação: 21 outubro 2008, 09:41 ( 810.4 weeks ago )
Tamanho:: 28.53 Kb

Home page:   http://www.cpan.org

Licença: Artistic
Sumário: High speed arbitrary size integer math
Descrição:

Math::GMP was designed to be a drop-in replacement both for
Math::BigInt and for regular integer arithmetic.  Unlike BigInt,
though, Math::GMP uses the GNU gmp library for all of its
calculations, as opposed to straight Perl functions.  This can result
in speed improvements.

The downside is that this module requires a C compiler to install -- a
small tradeoff in most cases. Also, this module is not 100 percent compatible
to Math::BigInt.

A Math::GMP object can be used just as a normal numeric scalar would
be -- the module overloads most of the normal arithmetic operators to
provide as seamless an interface as possible. However, if you need a
perfect interface, you can do the following:

 use Math::GMP qw(:constant);

 $n = 2 ** (256 * 1024);
 print "n is $n\n";

This would fail without the ':constant' since Perl would use normal
doubles to compute the 250,000 bit number, and thereby overflow it
into meaninglessness (smaller exponents yield less accurate data due
to floating point rounding).

Mantenedor currente: Mikhail Pokidko

Lista dos contribuidores

Lista dos rpms provida por esta srpm:

  • perl-Math-GMP
ACL:
     
    projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    mantenedor atual: Michael Shigorin
    mantenedor da tradução: Fernando Martini aka fmartini © 2009