Handbook
Glossary
calculate-e-decimals ( n -- e )
Vocabulary
benchmark
.
e-decimals
Inputs
n
an
object
Outputs
e
an
object
Definition
USING:
decimals
kernel
ranges
sequences
;
IN:
benchmark.e-decimals
::
calculate-e-decimals
( n -- e )
n
[1..b]
DECIMAL:
1
[
D-factorial
DECIMAL:
1
swap
n
D/
D+
]
reduce
;