Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37514148
en ru br
ALT Linux repositórios
S:0.03-alt2.2

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

 Principal   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

A versão atual: 0.03-alt2.2
Data da compilação: 24 janeiro 2019, 12:51 ( 274.0 weeks ago )
Tamanho:: 57.51 Kb

Home page:   http://search.cpan.org/dist/Math-GMPn/

Licença: perl
Sumário: Fixed length integer arithmetic.
Descrição:

This module provides a set of functions to perform arithmetic on fixed
length but arbitrarily large bit strings implemented on top of the GMP
library low level functions (see
http://gmplib.org/manual/Low_002dlevel-Function…).

Numbers are represented as arrays of GMP mp_limb_t integers (usually,
the native unsigned int) packed into Perl scalars without any
additional wrapping.

The bit length of the strings passed to the module must be a multiple
of the mp_limb_t bit size (32 and 64 bits for 32bit and 64bit machines
respectively). Most operations do not check that condition and their
results are unspecified when arguments with non conforming sizes are
used.

Also, the strings passed must by internally aligned on a mp_limb_t
boundary. That usually means not using the four argument variant of
`substr' on any scalar that would be passed to Math::GMPn. For
instance:

 
 $a = ...; $b = ...;
 substr($a, 0, 3, "");
 mpn_add($r, $a, $b); # croaks!

When strings of different length are used on the same operation, the
result lenght is equal to that of the largest input. For instance,
adding a 128bit string and a 256bit string will output a 256bit
string. Overflows are silently discarded.

Mantenedor currente: Igor Vlasenko

Lista dos contribuidores

Lista dos rpms provida por esta srpm:

  • perl-Math-GMPn
  • perl-Math-GMPn-debuginfo
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