Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Download 3-1-3
Online Manual
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.2.3.6 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);""; //37! (as long integer)
See also:
prime
.
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Internal
System
New Libraries
SVN Repository
Third-party software
Misc
Links
Contact
Impressum