 多倍長計算：階乗

＜概要＞
　階乗を多倍長で計算します。n! = 1 * 2 * 3 * ... * n

＜前提条件・制限＞
　特になし。

＜インストール＞

    ソースを適当なディレクトリにデータファイルとしてコピーします。 

＜パラメータ＞
　階乗を計算する自然数を指定します。デフォルトは30です。TRACEコマンド用のパラメータが指定できます。

＜実行＞
　ソースをコピーしたディレクトリでコマンドラインから起動します。

例：
[F:\]fact1 10
   2 ! =     2
   3 ! =     6
   4 ! =    24
   5 ! =   120
   6 ! =   720
   7 ! =  5040
   8 ! = 40320
   9 ! =     3 62880
  10 ! =    36 28800

[F:\]


ENGLISH TRANSLATION WITH GOOGLE
--------------------------------

Multiple Precision Arithmetic: Factorial

<Overview>
Calculate the factorial with multiple precision. n! = 1 * 2 * 3 * ... * n

<Prerequisites and Restrictions>
 nothing special.

<Installation>

     Copy the source to a suitable directory as a data file.

<Parameter>
　Specify the natural number for which you want to calculate the factorial. Default is 30. You can specify parameters for the TRACE command.

<Execute>
　Start from the command line in the directory where the source was copied.

example:
[F:\]fact1 10
    2 != 2
    3 != 6
    4 != 24
    5 != 120
    6 != 720
    7 != 5040
    8 != 40320
    9 != 3 62880
   10 != 36 28800

[F:\]

LINK
https://web.archive.org/web/20041117201503/http://www2u.biglobe.ne.jp/~gwm01021/rexx5-2.htm