HP Prime for All

English  Русский 

Syntax

factorial(Intg(n)|| Real(a) )

Description

factorial(n)=n!. For non-integers, factorial(a)=a! = G(a + 1). This calculates the Gamma function.

Example

factorial(4) returns 24

factorial — Discussion