Special factorials: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: simplified some code.) |
m (→{{header|REXX}}: eliminated the need for abutment.) |
||
Line 194: | Line 194: | ||
say @ 5 " is:"; $= ' 'commas( efn( ef(5) ) ); call tell |
say @ 5 " is:"; $= ' 'commas( efn( ef(5) ) ); call tell |
||
@= 'the inverse factorial of' |
@= 'the inverse factorial of' |
||
do j=1 for 10; say @ |
do j=1 for 10; say @ right(!(j), 8) " is: " rf(!(j)) |
||
end /*j*/ |
end /*j*/ |
||
⚫ | |||
⚫ | |||
exit 0 /*stick a fork in it, we're all done. */ |
exit 0 /*stick a fork in it, we're all done. */ |
||
/*──────────────────────────────────────────────────────────────────────────────────────*/ |
/*──────────────────────────────────────────────────────────────────────────────────────*/ |