summaryrefslogtreecommitdiffstats
path: root/games/factor/factor.6
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-01-06 19:46:56 +0000
committerimp <imp@FreeBSD.org>1999-01-06 19:46:56 +0000
commit3936fe2a01920fe1fb3d7bf34ade29da706ff55e (patch)
tree9e52f1eef381c301d448ae2228de398bfba81ead /games/factor/factor.6
parentf261ff0eff417c843bfdc277cfb7162762478375 (diff)
downloadFreeBSD-src-3936fe2a01920fe1fb3d7bf34ade29da706ff55e.zip
FreeBSD-src-3936fe2a01920fe1fb3d7bf34ade29da706ff55e.tar.gz
Fix printf errors in the hflag case.
Fix old bug with bogus casing to (long). Document the true limits of factor on 64-bit architectures. Submitted by: bde
Diffstat (limited to 'games/factor/factor.6')
-rw-r--r--games/factor/factor.612
1 files changed, 6 insertions, 6 deletions
diff --git a/games/factor/factor.6 b/games/factor/factor.6
index 4844780..316abdd 100644
--- a/games/factor/factor.6
+++ b/games/factor/factor.6
@@ -52,12 +52,12 @@ factor, primes \- factor a number, generate primes
.SH DESCRIPTION
The
.I factor
-utility will factor integers between 0 and 4294967295 inclusive.
-When a number is factored, it is printed, followed by a ``:'',
-and the list of factors on a single line.
-Factors are listed in ascending order, and are preceded by a space.
-If a factor divides a value more than once, it will be printed
-more than once.
+utility will factor integers between 0 and ULONG_MAX (4294967295 on 32
+bit architectures, 18446744073709551615 on 64 bit ones), inclusive.
+When a number is factored, it is printed, followed by a ``:'', and the
+list of factors on a single line. Factors are listed in ascending
+order, and are preceded by a space. If a factor divides a value more
+than once, it will be printed more than once.
.PP
When
.I factor
OpenPOWER on IntegriCloud