Toggle navigation
FSTATS
Contents
Source Files
Modules
Procedures
Derived Types
Source Files
Modules
Procedures
Derived Types
factorial
Function
5 statements
Source File
fstats_helper_routines.f90
fstats_helper_routines
factorial
Contents
public pure elemental function factorial(x) result(rst)
Computes the factorial of X.
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=real64),
intent(in)
::
x
The value whose factorial is to be computed.
Return Value
real(kind=real64)
The result.
Contents