Function Jet::Utilities::Factorial

Function Documentation

inline size_t Jet::Utilities::Factorial(size_t n)

Returns the factorial of the given number.

Warning

This function is susceptible to overflow errors for large values of n.

Parameters

n – Number whose factorial is to be computed.

Returns

Factorial of the given number.