klyn.math.Math.fact
method
public static fact<INT_TYPE extends AbstractInt>(value as INT_TYPE) as INT_TYPE:
Description

Computes the factorial of an integer.

Throws
  • ValueError if `value` is negative. ```klyn print(Math.fact(6)) print(Math.fact(10ul)) ```