nag_scaled_log_gamma (s14ahc) calculates an approximate value for
, where
. This is a variant of the
function (see also
nag_log_gamma (s14abc)), which avoids rounding problems for very large arguments by computing
with the Stirling approximation factored out.
For
, the value
is undefined;
nag_scaled_log_gamma (s14ahc) returns zero and exits with
NE_REAL_ARG_LE.
None.