f50d2669e3
* gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/gawk.scm, gnu/packages/gcc.scm, packages/gcc.scm, b/gnu/packages/gcc.scm, 4b982 100644 s/gcc.scm, s/gcc.scm, @@ %standard-phases))))) `((gcc-libc . ,(assoc-ref inputs "libc")))) The GNU Compiler Collection") GNU Compiler Collection") n ompiler Collection includes compiler front ends for C, C++, tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as gnu/packages/gdb.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/global.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mailutils.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm: Use synopses from the Womb.
121 lines
5 KiB
Scheme
121 lines
5 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
|
|
;;;
|
|
;;; This file is part of GNU Guix.
|
|
;;;
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
;;; under the terms of the GNU General Public License as published by
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
;;; your option) any later version.
|
|
;;;
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
;;;
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
(define-module (gnu packages multiprecision)
|
|
#:use-module (guix licenses)
|
|
#:use-module (gnu packages)
|
|
#:use-module (gnu packages m4)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix download)
|
|
#:use-module (guix build-system gnu))
|
|
|
|
(define-public gmp
|
|
(package
|
|
(name "gmp")
|
|
(version "5.1.0")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri
|
|
;; Note: this version is not available from GNU mirrors
|
|
;; because it was made with an Automake affected by
|
|
;; CVE-2012-3386.
|
|
(string-append "ftp://ftp.gmplib.org/pub/gmp-"
|
|
version "/gmp-" version ".tar.bz2"))
|
|
(sha256
|
|
(base32
|
|
"15n7xxgasbxdch8ii8z9ic6fxc2ysk3q8iavf55abjp5iylspnfz"))))
|
|
(build-system gnu-build-system)
|
|
(native-inputs `(("m4" ,m4)))
|
|
(arguments `(#:configure-flags
|
|
'(;; Build a "fat binary", with routines for several
|
|
;; sub-architectures.
|
|
"--enable-fat"
|
|
"--enable-cxx")))
|
|
(synopsis "Multiple-precision arithmetic library")
|
|
(description
|
|
"GMP is a free library for arbitrary precision arithmetic, operating on
|
|
signed integers, rational numbers, and floating point numbers. There is no
|
|
practical limit to the precision except the ones implied by the available
|
|
memory in the machine GMP runs on. GMP has a rich set of functions, and the
|
|
functions have a regular interface.
|
|
|
|
The main target applications for GMP are cryptography applications and
|
|
research, Internet security applications, algebra systems, computational
|
|
algebra research, etc.
|
|
|
|
GMP is carefully designed to be as fast as possible, both for small operands
|
|
and for huge operands. The speed is achieved by using fullwords as the basic
|
|
arithmetic type, by using fast algorithms, with highly optimised assembly
|
|
code for the most common inner loops for a lot of CPUs, and by a general
|
|
emphasis on speed.
|
|
|
|
GMP is faster than any other bignum library. The advantage for GMP increases
|
|
with the operand sizes for many operations, since GMP uses asymptotically
|
|
faster algorithms.")
|
|
(license lgpl3+)
|
|
(home-page "http://gmplib.org/")))
|
|
|
|
(define-public mpfr
|
|
(package
|
|
(name "mpfr")
|
|
(version "3.1.1")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://gnu/mpfr/mpfr-" version
|
|
".tar.xz"))
|
|
(sha256 (base32
|
|
"0ym1ylcq803n52qrggxqmkz66gbn8ncc3ybawal31v5y5p1srma9"))))
|
|
(build-system gnu-build-system)
|
|
(propagated-inputs `(("gmp" ,gmp))) ; <mpfr.h> refers to <gmp.h>
|
|
(synopsis "C library for arbitrary precision floating-point arithmetic")
|
|
(description
|
|
"The GNU MPFR library is a C library for multiple-precision
|
|
floating-point computations with correct rounding. MPFR is based on the GMP
|
|
multiple-precision library.
|
|
|
|
The main goal of MPFR is to provide a library for multiple-precision
|
|
floating-point computation which is both efficient and has a well-defined
|
|
semantics. It copies the good ideas from the ANSI/IEEE-754 standard for
|
|
double-precision floating-point arithmetic (53-bit mantissa).")
|
|
(license lgpl3+)
|
|
(home-page "http://www.mpfr.org/")))
|
|
|
|
(define-public mpc
|
|
(package
|
|
(name "mpc")
|
|
(version "1.0.1")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (string-append
|
|
"mirror://gnu/mpc/mpc-" version ".tar.gz"))
|
|
(sha256 (base32
|
|
"1zq0fidp1jii2j5k5n9hmx55a6wwid33gjzhimvxq9d5zrf82npd"))))
|
|
(build-system gnu-build-system)
|
|
(propagated-inputs `(("gmp" ,gmp) ; <mpc.h> refers to both
|
|
("mpfr" ,mpfr)))
|
|
(synopsis "C library for arbitrary precision complex arithmetic")
|
|
(description
|
|
"GNU MPC is a C library for the arithmetic of complex numbers with
|
|
arbitrarily high precision and correct rounding of the result. It extends
|
|
the principles of the IEEE-754 standard for fixed precision real floating
|
|
point numbers to complex numbers, providing well-defined semantics for
|
|
every operation. At the same time, speed of operation at high precision
|
|
is a major design goal. The library is built upon and follows the same
|
|
principles as GNU MPFR.")
|
|
(license lgpl3+)
|
|
(home-page "http://mpc.multiprecision.org/")))
|