/* -*- MaTX -*- * * 【名前】 * fact() - 階乗 * * 【形式】 * y = fact(x) * (Integer|Real) y; * (Integer|Real) x; * * 【機能説明】 * fact(x)は,階乗 x! を求める。 * * 【例題】 * >> y = fact(5) * y = 120 (= 5*4*3*2*1) * >> y = fact(5.1) * y = 149.737 (= 5.1*4.1*3.1*2.1*1.1) * * 【関連項目】 * pow() */