bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] Support arbitrarily-long numbers with GNU MP.


From: James Youngman
Subject: Re: [PATCH 1/2] Support arbitrarily-long numbers with GNU MP.
Date: Tue, 29 Jul 2008 10:23:27 +0100

On Sun, Jul 27, 2008 at 10:25 PM, James Youngman <address@hidden> wrote:
> 2008-07-27  James Youngman  <address@hidden>
>
>        Support arbitrarily-long numbers with GNU MP.
>        * m4/gmp.m4: New file; adds cu_GMP, which detects GNU MP.
>        * configure.ac: Use cu_GMP.

At the moment, the cu_GMP macro will always use GNU MP if it is available.

$ ls -lh /usr/lib/libgmp.so.3.4.2
-rw-r--r-- 1 root root 253K 2008-04-09 08:23 /usr/lib/libgmp.so.3.4.2

Although libgmp itself has no further dependencies other than the C
library, this is still a large-ish extra dependency.   Should we also
introduce a --without-gmp option to configure?

I also remember Jim mentioning something about supporting large
numbers in expr.  That seems feasible, though based on the number of
discussions over the last year or two I would suggest that perhaps
using GMP in "seq" might also be a win; thoughts?

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]