Anonymous user
Multifactorial: Difference between revisions
m
→{{header|REXX}}: added a comment in the section header for REXX. -- ~~~~
m (→{{header|REXX}}: added NUMERIC DIGITS to allow for bigger answers, simplified the KDACT subroutine, added/changed comments, changed indentation, added whitespace. -- ~~~~) |
m (→{{header|REXX}}: added a comment in the section header for REXX. -- ~~~~) |
||
Line 332:
=={{header|REXX}}==
This version also handles zero as well as positive integers.
<lang rexx>/*REXX pgm calculates K-fact (multifactorial) of non-negative integers.*/
numeric digits 1000 /*lets get ka-razy with precision*/
|