FactorialL function

Fully qualified name: Std.Math.FactorialL

function FactorialL(n : Int) : BigInt

Summary

Returns the factorial of a given number.

Input

n

The number to take the factorial of.

Output

The factorial of n.

See Also

  • Microsoft.Quantum.Math.FactorialI
  • Microsoft.Quantum.Math.ApproximateFactorial