Package perl-Math-GMPn: Information

    Source package: perl-Math-GMPn
    Version: 0.03-alt2.2
    Latest version according to Repology
    Build time:  Jan 29, 2019, 06:25 AM in the task #219907
    Category: Development/Perl
    Report package bug
    License: perl
    Summary: Fixed length integer arithmetic.
    Description: 
    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-Functions.html).
    
    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.

    List of RPM packages built from this SRPM:
    perl-Math-GMPn (x86_64, i586, aarch64)
    perl-Math-GMPn-debuginfo (x86_64, i586, aarch64)

    Maintainer: Igor Vlasenko

    List of contributors:
    Igor Vlasenko

    ACL:
    Igor Vlasenko
    @everybody

      1. /proc
      2. perl(Exporter.pm)
      3. perl(ExtUtils/MakeMaker.pm)
      4. libgmp-devel
      5. rpm-build-perl
      6. perl(Test/More.pm)
      7. perl(XSLoader.pm)
      8. perl-devel
      9. perl-podlators

    Last changed


    Jan. 24, 2019 Igor Vlasenko 0.03-alt2.2
    - rebuild with new perl 5.28.1
    Dec. 15, 2017 Igor Vlasenko 0.03-alt2.1.1.1.1
    - rebuild with new perl 5.26.1
    Feb. 3, 2017 Igor Vlasenko 0.03-alt2.1.1.1
    - rebuild with new perl 5.24.1