PassiveSupport.Integer.factorial

You're seeing just the function factorial, go back to PassiveSupport.Integer module for more information.
Link to this function

factorial(integer)

Specs

factorial(integer()) :: integer()

Arbitrary-precision factorial.

Examples

iex> factorial(5)
120

iex> factorial(6)
720

iex> factorial(-6)
-720

iex> factorial(1)
1