next up previous contents
Next: fclose Up: リファレンスマニュアル Previous: extern

  
fact

【目的】
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(2.160)


Masanobu KOGA 平成11年10月2日