From 3936fe2a01920fe1fb3d7bf34ade29da706ff55e Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 6 Jan 1999 19:46:56 +0000 Subject: 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 --- games/factor/factor.6 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'games/factor/factor.6') 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 -- cgit v1.1