summaryrefslogtreecommitdiffstats
path: root/factor/factor.6
Commit message (Collapse)AuthorAgeFilesLines
* more clarifications.christos2020-10-121-4/+8
|
* mention hex numberschristos2020-10-111-2/+5
|
* Fix a typo (s/int/in/)kre2020-10-041-2/+2
|
* PR/55693: Andreas Gustafsson: factor(6) lists factors in wrong orderchristos2020-10-031-3/+7
| | | | Sync with FreeBSD and change their -h (that printed hex) to -x because we were already using -h.
* Add -h option to factor(6): duplicate factors are printed inrin2017-11-111-5/+20
| | | "human-readable" form of x^n.
* Imported and adapted from FreeBSD svn r272166 and r272207; this fixesast2014-10-021-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | false positives for products of primes larger than 2^16. For example, before this commit: $ /usr/games/primes 4295360521 4295360522 4295360521 but $ /usr/games/factor 4295360521 4295360521: 65539 65539 or $ /usr/games/primes 3825123056546413049 3825123056546413050 3825123056546413049 yet $ /usr/games/factor 3825123056546413049 3825123056546413049: 165479 23115459100831 or $ /usr/games/primes 18446744073709551577 18446744073709551577 although $ /usr/games/factor 18446744073709551577 18446744073709551577: 139646831 132095686967 Incidentally, the above examples show the smallest and largest cases that were erroneously stated as prime in the range 2^32 .. 3825123056546413049 .. 2^64; the primes(6) program now stops at 3825123056546413050 as primality tests on larger integers would be by brute force factorization. In addition, special to the NetBSD version: . for -d option, skip first difference when start is >65537 as it is incorrect . corrected usage to mention both the existing -d as well as the new -h option For original FreeBSD commit message by Colin Percival, see: http://svnweb.freebsd.org/base?view=revision&revision=272166
* Follow the Fundamental Theory of Algebra. Disallow factorising ofjoerg2010-05-151-5/+5
| | | | | | | | numbers less than 2 as it is not - naturally unique (negative numbers) - finite (0) - non-empty (1) Discussed with the kristaps and wiz
* Add backslash before a dash to get a minus.wiz2010-04-221-3/+3
|
* Sync with reality. Bump date.dholland2010-04-221-11/+27
|
* Separate primes manpage from that of factor. Correct DIAGNOSTICSjsm2004-02-081-44/+6
| | | information.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-6/+2
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-9/+6
|
* Whitespace and/or punctuation fixes.wiz2001-04-021-5/+5
|
* WARNSifylukem1997-10-101-7/+7
|
* merge with Lite, new RCS id conventions, etc.cgd1995-03-231-5/+6
|
* Update to use new -mandoc macros.jtc1993-08-051-40/+48
|
* Add RCS indentifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+116