Package ocaml-zarith: Information

    Source package: ocaml-zarith
    Version: 1.12-alt2
    Build time:  Dec 2, 2021, 04:00 PM in the task #289137
    Category: Development/ML
    Report package bug
    Summary: OCaml interface to GMP
    Description: 
    This library implements arithmetic and logical operations over
    arbitrary-precision integers.
    
    The module is simply named "Z".  Its interface is similar to that of the
    Int32, Int64 and Nativeint modules from the OCaml standard library, with
    some additional functions.  See the file z.mlip for documentation.
    
    The implementation uses GMP (the GNU Multiple Precision arithmetic
    library) to compute over big integers.  However, small integers are
    represented as unboxed Caml integers, to save space and improve
    performance.  Big integers are allocated in the Caml heap, bypassing
    GMP's memory management and achieving better GC behavior than e.g. the
    MLGMP library.  Computations on small integers use a special, faster
    path (coded in assembly for some platforms and functions) eschewing
    calls to GMP, while computations on large integers use the low-level
    MPN functions from GMP.
    
    Arbitrary-precision integers can be compared correctly using OCaml's
    polymorphic comparison operators (=, <, >, etc.).
    
    Additional features include:
    - a module Q for rationals, built on top of Z (see q.mli)
    - a compatibility layer Big_int_Z that implements the same API as Big_int,
      but uses Z internally

    List of rpms provided by this srpm:
    ocaml-zarith (x86_64, ppc64le, i586, armh, aarch64)
    ocaml-zarith-debuginfo (x86_64, ppc64le, i586, armh, aarch64)
    ocaml-zarith-devel (x86_64, ppc64le, i586, armh, aarch64)

    Maintainer: Anton Farygin

    List of contributors:
    Anton Farygin

      1. libgmp-devel
      2. ocaml
      3. ocaml-findlib
      4. ocaml-ocamldoc

    Last changed


    Sept. 18, 2021 Anton Farygin 1.12-alt2
    - fixed build with enabled LTO
    March 19, 2021 Anton Farygin 1.12-alt1
    - 1.12
    Dec. 31, 2020 Anton Farygin 1.11-alt1
    - 1.11