summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@CS.UCLA.EDU>2008-10-24 22:43:40 +0200
committerJim Meyering <meyering@redhat.com>2008-10-25 21:05:41 +0200
commitfec0e89c20db8772854335382aceb260cb7abef2 (patch)
tree943f5fe36b7d34aca38a1f652d01c4d4a1aaeaa6 /doc
parent407e8f0fdd74b04a266dafa01ca896779f7706a1 (diff)
downloadcoreutils-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 'doc')
-rw-r--r--doc/coreutils.texi9
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index cbef0139b..2d11388bf 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -14654,15 +14654,6 @@ The @command{factor} command supports only a small number of options:
Print a short help on standard output, then exit without further
processing.
-@item --bignum
-Always use unlimited precision arithmetic via the GNU MP library.
-By default, @command{factor} selects between using GNU MP and using
-native operations on the basis of the length of the number to be factored.
-
-@item --no-bignum
-Always use limited-precision native operations, not GNU MP.
-This causes @command{factor} to fail for larger inputs.
-
@item --version
Print the program version on standard output, then exit without further
processing.