[Top][All Lists]

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

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

From: Andreas Schwab
Subject: Re: [PATCH 1/2] Support arbitrarily-long numbers with GNU MP.
Date: Wed, 30 Jul 2008 16:33:40 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Jim Meyering <address@hidden> writes:

> James Youngman <address@hidden> wrote:
>>      Support arbitrarily-long numbers with GNU MP.
>>      * m4/gmp.m4: New file; adds cu_GMP, which detects GNU MP.
>>      * configure.ac: Use cu_GMP.
>>      * src/Makefile.am: Link factor against libgmp if available.
>>      * src/factor.c: Use GNU MP if it is available.
>>      (emit_factor, emit_ul_factor, factor_using_division,
>>      factor_using_pollard_rho, extract_factors_multi,
>>      sort_and_print_factors, free_factors): new functions
>>      for the arbitrary-precision implementation, taken from an example
>>      in GNU MP.
>>      (factor_wheel): Renamed; was called factor.
>>      (print_factors_single): Renamed; was called print_factors.
>>      (print_factors): New function, chooses between the single- and
>>      arbitrary-precision algorithms according to availability of GNU MP
>>      and the length of the number to be factored.
>>      (usage, main): New options --use-mp and --nouse-mp.
> What do you think of --mp and --no-mp instead?

How about --bignum instead?  IMHO this is more descriptive.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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