Computes the Stirling approximation to the gamma function.


icon

Inputs/Outputs

  • cdbl.png x

    x is the input argument. If x is negative, the VI uses the absolute value of x.

  • idbl.png Stirling(x)

    Stirling(x) returns the value of the Stirling function.

  • The following approximation defines the Stirling approximation to the gamma function.

    The function is defined according to the following interval for the input value.

    LabVIEW supports the entire domain of this function that produces real-valued results. The function is defined for nonnegative real values of x.