double Fact(const int N);
Factorial N!.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | N | const int |
Returns: the factorial (=n!) of n.
Remarks:
First 50 numbers are precomputed. Although the argument is integer, the result is real. The result can exceed integer range. If you exceed the TSample range the function returns Inf.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler