factorial Function

public pure elemental function factorial(x) result(rst)

Computes the factorial of X.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x

The value whose factorial is to be computed.

Return Value real(kind=real64)

The result.


Contents