diff options
author | Paul Eggert <eggert@CS.UCLA.EDU> | 2008-10-24 22:43:40 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-10-25 21:05:41 +0200 |
commit | fec0e89c20db8772854335382aceb260cb7abef2 (patch) | |
tree | 943f5fe36b7d34aca38a1f652d01c4d4a1aaeaa6 /src/ln.c | |
parent | 407e8f0fdd74b04a266dafa01ca896779f7706a1 (diff) | |
download | coreutils-fec0e89c20db8772854335382aceb260cb7abef2.tar.xz |
factor: remove --bignum and --no-bignum options
Here's a patch to remove the --bignum and --no-bignum options from
'factor'. The case for removing --bignum isn't as strong as that for
'expr', but still, it seems to me that these options are not needed and
complicate the documentation unnecessarily.
* doc/coreutils.texi (factor invocation): Remove --bignum, --no-bignum.
* src/factor.c (algorithm, ALGORITHM_CHOICE, USE_BIGNUM, NO_USE_BIGNUM):
Remove; all uses removed.
(extract_factors_multi): Remove, replacing with....
(print_factors_multi): New function, with signature similar to that
of new signature of print_factors_single.
(print_factors_single): Migrate checking code to caller.
(print_factors): Use GMP if it's available; don't bother asking user.
Improve accuracy of check for "large" numbers.
(long_options, main): Remove support for --bignum.
Diffstat (limited to 'src/ln.c')
0 files changed, 0 insertions, 0 deletions