D.2.3.7 factorial
Procedure from library
general.lib
(see
general_lib
).
Usage:
factorial(n); n integer
Return:
factorial(n): n! of type bigint.
Example:
LIB "general.lib"; factorial(37); ==> 13763753091226345046315979581580902400000000
See also:
prime
.
User manual for
Singular
version 4.3.1, 2022, generated by
texi2html
.