# Logfactorial.m

Logarithm of the factorial function.

## Syntax

    lf=logfactorial(n)


## Description

Avoids complications with factorials of large numbers overflowing 64-bit numbers.

## Arguments

    n - non-negative integer number


## Outputs

    lf - logarithm of the factorial of n


## Notes

Double precision overflow is a persistent problem with Clebsch-Gordan coefficients and other objects that involve factorials.