NTTL Function - Factorial

Description
Compute the factorial of a number.
Header
<nttl/factorial.h>
Signature
template< class T >
void Factorial( T *Prod, size_t x )
Parameters
Name Type Description
Prod T * Pointer to the variable that will contain the factorial.
x size_t The number to calculate the factorial of.  That is, Prod = x!
Returns
( none )
Example
#include <nttl/factorial.h>
...
long f;
Factorial( &f, 10 );