Path: | libsrc/utils/gamma.f90 |
Last Update: | Mon Aug 19 17:49:26 +0900 2013 |
Function : | |
factrl : | real(8) |
n : | integer, intent(IN) |
Returns the value n! as a floating point number
function factrl(n) ! ! Returns the value n! as a floating point number ! integer, intent(IN) :: n real(8) :: factrl real(8) :: gammaln external gammaln factrl=exp(gammaln(n+1.0d0)) return end function factrl