LogFactorialD function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Math

Package: Microsoft.Quantum.Standard

Returns the approximate natural logarithm of the factorial of a given integer.

function LogFactorialD (n : Int) : Double

Input

n : Int

The number to take the log-factorial of.

Output : Double

The natural logarithm of the factorial of the provided input.

See Also