RosettaCodeData/Task/Factorial/Tcl/factorial-6.tcl
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

5 lines
105 B
Tcl

package require math::special
proc gfact n {
expr {round([::math::special::Gamma [expr {$n+1}]])}
}