-# $OpenBSD: Makefile,v 1.6 2014/12/30 10:28:56 schwarze Exp $
+# $OpenBSD: Makefile,v 1.7 2015/01/01 09:06:39 schwarze Exp $
-REGRESS_TARGETS = append escname indir startde TH Dd
+REGRESS_TARGETS = append escname factorial indir startde TH Dd
LINT_TARGETS = escname indir
.include <bsd.regress.mk>
--- /dev/null
+FACTORIAL(1) General Commands Manual FACTORIAL(1)
+
+N\bNA\bAM\bME\bE
+ f\bfa\bac\bct\bto\bor\bri\bia\bal\bl - factorial sequence
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ 9! = 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1 = 362880
+ 8! = 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1 = 40320
+ 7! = 7 * 6 * 5 * 4 * 3 * 2 * 1 = 5040
+ 6! = 6 * 5 * 4 * 3 * 2 * 1 = 720
+ 5! = 5 * 4 * 3 * 2 * 1 = 120
+ 4! = 4 * 3 * 2 * 1 = 24
+ 3! = 3 * 2 * 1 = 6
+ 2! = 2 * 1 = 2
+ 1! = 1
+ 0! = 1
+
+OpenBSD December 30, 2014 OpenBSD