 多倍長計算：e

＜概要＞
　自然対数の底eを多倍長で計算します。e = 1/0! + 1/1! + 1/2! + 1/3! + 1/4! + 1/5! + ...

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

＜インストール＞

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

＜パラメータ＞
　計算する桁数を数字で指定します。指定した数字の５倍の桁数が計算されます。デフォルトは10です。TRACEコマンド用のパラメータが指定できます。

＜実行＞
　ソースをコピーしたディレクトリでコマンドラインから起動します。階乗計算をいくつまで行ったかを表示した後、eが表示されます。

例：
[F:\]exp1
CALC UNTIL 1/42!
E = 2.
 71828 18284 59045 23536 02874 71352 66249 77572 47093 69995


[F:\]

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

Multiple precision calculation: e

<Overview>
Calculate the base e of the natural logarithm in multiple precision. e = 1/0! + 1/1! + 1/2! + 1/3! + 1/4! + 1/5! + ...

<Prerequisites and Restrictions>
 nothing special.

<Installation>

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

<Parameter>
Specify the number of digits to be calculated. Calculates five times the number of digits specified. Default is 10. You can specify parameters for the TRACE command.

<Execute>
　Start from the command line in the directory where the source was copied. After displaying how many factorial calculations have been performed, an e is displayed.

example:
[F:\]exp1
CALC UNTIL 1/42!
E = 2.
  71828 18284 59045 23536 02874 71352 66249 77572 47093 69995


[F:\]

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