[hackers] [9base] added factor.1 and primes.1 stub || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Fri, 28 May 2010 10:32:02 +0000 (UTC)

changeset: 72:48ca485248ce
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Fri May 28 11:32:00 2010 +0100
files: factor/factor.1 primes/primes.1
added factor.1 and primes.1 stub

diff -r b591836bd3c1 -r 48ca485248ce factor/factor.1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/factor/factor.1 Fri May 28 11:32:00 2010 +0100
@@ -0,0 +1,66 @@
+.CT 1 numbers
+factor, primes \- factor a number, generate large primes
+.B factor
+.I number
+.B primes
+.I start
+.I finish
+.I Factor
+.I number
+and its prime factors,
+each repeated the proper number of times.
+The number must be positive and less than
+.if n 2**54
+.if t 2\u\s754\s0\d
+.if n 1.8e16)
+.if t 1.8\(mu10\u\s716\s0\d\|).
+If no
+.I number
+is given,
+.I factor
+reads a stream of numbers from the standard input and factors them.
+It exits on any input not a positive integer.
+Maximum running time is proportional to
+.if n sqrt(n).
+.if t .I \(sr\o'n\(rn'\f1.
+.I Primes
+prints the prime numbers ranging from
+.I start
+.IR finish ,
+.I start
+.I finish
+are positive numbers less than
+.if n 2**56.
+.if t 2\u\s756\s0\d.
+.I finish
+is missing,
+.I primes
+prints without end;
+.I start
+is missing, it reads the starting number from the
+standard input.
+.B \*9/src/cmd/factor.c
+.B \*9/src/cmd/primes.c
Received on Fri May 28 2010 - 10:32:02 UTC

This archive was generated by hypermail 2.2.0 : Fri May 28 2010 - 10:36:04 UTC